Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Panattoni <[email protected]>
  • Loading branch information
zeeke committed Nov 25, 2024
1 parent 6665d5c commit 849530c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion test/conformance/tests/test_policy_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ var _ = Describe("[sriov] operator", Ordered, func() {
})

// 27662
It("Should support jumbo frames", func() {
FIt("Should support jumbo frames", func() {
podDefinition := pod.DefineWithNetworks([]string{"test-mtuvolnetwork"})
firstPod, err := clients.Pods(namespaces.Test).Create(context.Background(), podDefinition, metav1.CreateOptions{})
Expect(err).ToNot(HaveOccurred())
Expand Down Expand Up @@ -657,6 +657,22 @@ var _ = Describe("[sriov] operator", Ordered, func() {

secondPod = waitForPodRunning(secondPod)


Check failure on line 660 in test/conformance/tests/test_policy_configuration.go

View workflow job for this annotation

GitHub Actions / Golangci-lint

File is not `gofmt`-ed with `-s` (gofmt)
stdout, _, _ = pod.ExecCommand(clients, firstPod, []string{"ip", "link"}...)
fmt.Println(stdout)
stdout, _, _ = pod.ExecCommand(clients, firstPod, []string{"ip", "route"}...)
fmt.Println(stdout)
stdout, _, _ = pod.ExecCommand(clients, firstPod, []string{"ip", "address"}...)
fmt.Println(stdout)

stdout, _, _ = pod.ExecCommand(clients, secondPod, []string{"ip", "link"}...)
fmt.Println(stdout)
stdout, _, _ = pod.ExecCommand(clients, secondPod, []string{"ip", "route"}...)
fmt.Println(stdout)
stdout, _, _ = pod.ExecCommand(clients, secondPod, []string{"ip", "address"}...)
fmt.Println(stdout)


pingCommand := []string{"ping", firstPodIPs[0], "-s", "8972", "-M", "do", "-c", "2"}
stdout, stderr, err = pod.ExecCommand(clients, secondPod, pingCommand...)
Expect(err).ToNot(HaveOccurred(), "Failed to ping first pod. cmd%v stdout[%s] stderr[%s]", pingCommand, stdout, stderr)
Expand Down

0 comments on commit 849530c

Please sign in to comment.