Skip to content

Commit

Permalink
test ctx timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mircobordoni committed May 17, 2024
1 parent f3dfddd commit 47ed882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type MsgHandler struct {
}

func TestConsume(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), time.Second*1000)
ctx, cancel := context.WithTimeout(context.Background(), time.Second*10)
awsCfg := loadAWSDefaultConfig(ctx)

queueName := strings.ToLower(t.Name())
Expand Down

0 comments on commit 47ed882

Please sign in to comment.