tests: Fix a potential race in ListenBucketNotificationHandler. (#3040)

This commit is contained in:
Harshavardhana
2016-10-21 22:56:27 -07:00
committed by GitHub
parent 87af2dbc43
commit 83b364891d
6 changed files with 110 additions and 160 deletions

View File

@@ -74,6 +74,10 @@ var (
var (
// The maximum allowed difference between the request generation time and the server processing time
globalMaxSkewTime = 15 * time.Minute
// Keeps the connection active by waiting for following amount of time.
// Primarily used in ListenBucketNotification.
globalSNSConnAlive = 5 * time.Second
)
// global colors.