TestPausedProvisionerProvision_waits: don't fail when we spend too much time.

This commit is contained in:
Adrien Delorme 2019-05-24 18:21:53 +02:00
parent dc631530d2
commit ce15617d05
1 changed files with 0 additions and 3 deletions

View File

@ -138,9 +138,6 @@ func TestPausedProvisionerProvision_waits(t *testing.T) {
if timeSinceStartTime < waitTime {
return fmt.Errorf("Spent not enough time waiting: %s", timeSinceStartTime)
}
if timeSinceStartTime > waitTime+10*time.Millisecond {
return fmt.Errorf("Spent too much time waiting: %s", timeSinceStartTime)
}
return nil
},
},