Fix flaky usb controller test
@@ -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")
})
