We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f667c4 commit 7e6a89eCopy full SHA for 7e6a89e
pkg/server/api_v2_test.go
@@ -535,7 +535,7 @@ func TestCheckRestartSafe_Integration(t *testing.T) {
535
}
536
537
func drain(ctx context.Context, ts1 serverutils.TestServerInterface, t *testing.T) error {
538
- timeoutCtx, cancel := context.WithTimeout(ctx, 30*time.Second)
+ timeoutCtx, cancel := context.WithTimeout(ctx, testutils.SucceedsSoonDuration())
539
defer cancel()
540
541
err := ts1.DrainClients(ctx)
0 commit comments