mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-24 11:29:09 +00:00
fix flaky test on dra TestPrepareResources/should_timeout
Co-authored-by: TommyStarK <thomasmilox@gmail.com>
This commit is contained in:
@@ -93,7 +93,7 @@ func setupFakeDRADriverGRPCServer(shouldTimeout bool) (string, tearDown, error)
|
|||||||
driverName: driverName,
|
driverName: driverName,
|
||||||
}
|
}
|
||||||
if shouldTimeout {
|
if shouldTimeout {
|
||||||
timeout := plugin.PluginClientTimeout + time.Millisecond
|
timeout := plugin.PluginClientTimeout + 10*time.Millisecond
|
||||||
fakeDRADriverGRPCServer.timeout = &timeout
|
fakeDRADriverGRPCServer.timeout = &timeout
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user