Skip to content

Commit 2b2c790

Browse files
committed
Increase ssmock shutdown timeout
1 parent f092cce commit 2b2c790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ssmock/testutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func StartTestServer(t *testing.T, cfg *Config, opts ...Option) *Server {
2424
}
2525

2626
t.Cleanup(func() {
27-
shutdownCtx, shutdownCancel := context.WithTimeout(t.Context(), time.Second)
27+
shutdownCtx, shutdownCancel := context.WithTimeout(t.Context(), time.Second*30)
2828
defer shutdownCancel()
2929
if err := stop(shutdownCtx); err != nil {
3030
t.Fatalf("shutdown simulator: %v", err)

0 commit comments

Comments
 (0)