Merge pull request #121774 from charles-chenzz/increase_timeout_in_dra_shouldTimeOut
increase timeout in fakeDraDriverGrpcServer to fix flake
This commit is contained in:
@@ -117,7 +117,7 @@ func setupFakeDRADriverGRPCServer(shouldTimeout bool) (fakeDRAServerInfo, error)
|
|||||||
driverName: driverName,
|
driverName: driverName,
|
||||||
}
|
}
|
||||||
if shouldTimeout {
|
if shouldTimeout {
|
||||||
timeout := plugin.PluginClientTimeout + 10*time.Millisecond
|
timeout := plugin.PluginClientTimeout + 30*time.Millisecond
|
||||||
fakeDRADriverGRPCServer.timeout = &timeout
|
fakeDRADriverGRPCServer.timeout = &timeout
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user