Merged in feature/ecr (pull request #161)
Feature/ecr * nosave * repo * awscli * unzip * ignore * moreram * 14k * ref * deployment * 12k * uselocal * go * dockercomd * reorder * iamgename * installs * tart * cli * clideps * y * dockerce * nodock * multi * rmecr * dev
This commit is contained in:
@@ -156,7 +156,7 @@ func TestCognitoAuthFlow(t *testing.T) {
|
||||
|
||||
// Ensure server shuts down at the end of the test
|
||||
defer func() {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
ctx, cancel := context.WithTimeout(t.Context(), 5*time.Second)
|
||||
defer cancel()
|
||||
if err := server.Shutdown(ctx); err != nil {
|
||||
t.Logf("Server shutdown error: %v", err)
|
||||
@@ -191,7 +191,7 @@ func TestCognitoAuthFlow(t *testing.T) {
|
||||
chromedp.Flag("disable-cache", true),
|
||||
)
|
||||
|
||||
allocCtx, cancel := chromedp.NewExecAllocator(context.Background(), opts...)
|
||||
allocCtx, cancel := chromedp.NewExecAllocator(t.Context(), opts...)
|
||||
defer cancel()
|
||||
|
||||
// Create Chrome context with longer timeout for authentication flow
|
||||
|
||||
Reference in New Issue
Block a user