20457: Fix flaky test.
[arvados.git] / lib / dispatchcloud / dispatcher_test.go
index 4583a596eebfe48a08fd862e6d840d8df401c047..8a8a34f2b5637c6a4adcc669d6fbe905747bdf5f 100644 (file)
@@ -367,6 +367,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))