Skip to content

Commit

Permalink
lifecycle test: catch error raised by libvirt 6
Browse files Browse the repository at this point in the history
The original error from libvirt 5.6 is not returned anymore with libvirt
6.0.

Signed-off-by: Petr Horacek <[email protected]>
  • Loading branch information
phoracek committed Jun 2, 2020
1 parent f3df3d1 commit 5c566d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vmi_lifecycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ var _ = Describe("[rfe_id:273][crit:high][vendor:[email protected]][level:compon
Eventually(logs,
2*time.Second,
500*time.Millisecond).
Should(And(ContainSubstring("internal error: Unable to get DBus system bus connection"), ContainSubstring(`"subcomponent":"libvirt"`)))
Should(And(ContainSubstring("At least one cgroup controller is required: No such device or address"), ContainSubstring(`"subcomponent":"libvirt"`)))
})

It("[test_id:3197]should log libvirtd debug logs when enabled", func() {
Expand Down

0 comments on commit 5c566d6

Please sign in to comment.