Skip to content

Commit

Permalink
Add description test on failure in a flacky test
Browse files Browse the repository at this point in the history
The "console should reach kubevirt-plugin manifests" functional test
became flacky.

This PR adds some printout to debug the test, but will be useful anyway.

Signed-off-by: Nahshon Unna-Tsameret <[email protected]>
  • Loading branch information
nunnatsa committed Dec 24, 2024
1 parent 70ded59 commit b574989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/func-tests/console_plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var _ = Describe("kubevirt console plugin", Label(tests.OpenshiftLabel, "console

var pluginManifests map[string]interface{}
err = json.Unmarshal([]byte(stdout), &pluginManifests)
Expect(err).ToNot(HaveOccurred())
Expect(err).ToNot(HaveOccurred(), "can't parse command output: \n%s\n", stdout)

pluginName := pluginManifests["name"]
Expect(pluginName).To(Equal(expectedKubevirtConsolePluginName))
Expand Down

0 comments on commit b574989

Please sign in to comment.