Skip to content

Commit

Permalink
[tests/e2e]: Fix wget command for ipv6
Browse files Browse the repository at this point in the history
Signed-off-by: Shikhar Soni <[email protected]>
  • Loading branch information
shikharish committed Feb 22, 2024
1 parent b5dfbab commit 21598a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/flowaggregator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ func checkRecordsForToExternalFlows(t *testing.T, data *TestData, srcNodeName st
if !isIPv6 {
cmd = fmt.Sprintf("wget -O- %s:%d", dstIP, dstPort)
} else {
cmd = fmt.Sprintf("wget -O- [%s]:%d", dstIP, dstPort)
cmd = fmt.Sprintf("wget -O- http://[%s]:%d", dstIP, dstPort)
}
stdout, stderr, err := data.RunCommandFromPod(data.testNamespace, srcPodName, toolboxContainerName, strings.Fields(cmd))
require.NoErrorf(t, err, "Error when running wget command, stdout: %s, stderr: %s", stdout, stderr)
Expand Down

0 comments on commit 21598a9

Please sign in to comment.