Merge pull request #119709 from charles-chenzz/fix_flaky

fix flaky test on dra TestPrepareResources/should_timeout
This commit is contained in:
Kubernetes Prow Robot 2023-08-16 06:16:26 -07:00 committed by GitHub
commit 419df231bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
} }