20457: Fix flaky test.
authorTom Clegg <tom@curii.com>
Wed, 9 Aug 2023 21:07:35 +0000 (17:07 -0400)
committerTom Clegg <tom@curii.com>
Wed, 9 Aug 2023 21:07:35 +0000 (17:07 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

lib/dispatchcloud/dispatcher_test.go

index ea2611959c355bd60e8bd8cc0baceade386f4572..a981d83a26c8aae993660413b97f088ec3fdb9b8 100644 (file)
@@ -368,6 +368,7 @@ func (s *DispatcherSuite) TestInstancesAPI(c *check.C) {
        sr := getInstances()
        c.Check(len(sr.Items), check.Equals, 0)
 
+       s.stubDriver.ErrorRateCreate = 0
        ch := s.disp.pool.Subscribe()
        defer s.disp.pool.Unsubscribe(ch)
        ok := s.disp.pool.Create(test.InstanceType(1))