Browse Source

Use 2 seconds instead of 2000 milliseconds

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Daniel Nephin 8 years ago
parent
commit
cbf2f4d281
1 changed files with 1 additions and 1 deletions
  1. 1 1
      integration-cli/docker_cli_external_volume_driver_unix_test.go

+ 1 - 1
integration-cli/docker_cli_external_volume_driver_unix_test.go

@@ -426,7 +426,7 @@ func (s *DockerExternalVolumeSuite) TestExternalVolumeDriverRetryNotImmediatelyE
 
 	<-started
 	// wait for a retry to occur, then create spec to allow plugin to register
-	time.Sleep(2000 * time.Millisecond)
+	time.Sleep(2 * time.Second)
 	p := newVolumePlugin(c, driverName)
 	defer p.Close()