mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 21:12:07 +00:00
Merge pull request #122703 from TommyStarK/fix/dra-manager-should-timeout
dra: increase timeout in setupFakeDRADriverGRPCServer to prevent tests to flake
This commit is contained in:
commit
79e11fe563
@ -117,7 +117,7 @@ func setupFakeDRADriverGRPCServer(shouldTimeout bool) (fakeDRAServerInfo, error)
|
|||||||
driverName: driverName,
|
driverName: driverName,
|
||||||
}
|
}
|
||||||
if shouldTimeout {
|
if shouldTimeout {
|
||||||
timeout := plugin.PluginClientTimeout + 30*time.Millisecond
|
timeout := plugin.PluginClientTimeout + time.Second
|
||||||
fakeDRADriverGRPCServer.timeout = &timeout
|
fakeDRADriverGRPCServer.timeout = &timeout
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user