Skip to content

Commit

Permalink
Merge pull request kubevirt#2238 from rmohr/flaky-usb-controller
Browse files Browse the repository at this point in the history
Fix flaky usb controller test
  • Loading branch information
Artyom Lukianov authored May 5, 2019
2 parents 68aff46 + 10b4252 commit c0f9607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vmi_configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ var _ = Describe("Configurations", func() {
By("Checking the number of usb under guest OS")
_, err = expecter.ExpectBatch([]expect.Batcher{
&expect.BSnd{S: "ls -l /sys/bus/usb/devices/usb* | wc -l\n"},
&expect.BExp{R: "[1-9][0-9]*$"},
&expect.BExp{R: "2"},
}, 60*time.Second)
Expect(err).ToNot(HaveOccurred(), "should report number of usb")
})
Expand Down

0 comments on commit c0f9607

Please sign in to comment.