Skip to content

Commit

Permalink
Merge pull request kubevirt#6548 from jean-edouard/migdeb
Browse files Browse the repository at this point in the history
tests: migration: add debug log for flaky test
  • Loading branch information
kubevirt-bot authored Oct 21, 2021
2 parents 8a8caaf + 9a2cec6 commit 064abaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/migration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,12 +316,12 @@ var _ = Describe("[Serial][rfe_id:393][crit:high][vendor:[email protected]][leve
}

getLibvirtdPid := func(pod *k8sv1.Pod) string {
stdout, _, err := tests.ExecuteCommandOnPodV2(virtClient, pod, "compute",
stdout, stderr, err := tests.ExecuteCommandOnPodV2(virtClient, pod, "compute",
[]string{
"ps",
"-x",
})
Expect(err).ToNot(HaveOccurred())
Expect(err).ToNot(HaveOccurred(), `"ps -x" failed with stdout="`+stdout+`" and stderr="`+stderr+`"`)

pid := ""
for _, str := range strings.Split(stdout, "\n") {
Expand Down

0 comments on commit 064abaf

Please sign in to comment.