Skip to content

Commit

Permalink
pubsub/awssnssqs: Disable flaky test (#3440)
Browse files Browse the repository at this point in the history
  • Loading branch information
vangent committed Jun 3, 2024
1 parent f93057e commit e0e5901
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions pubsub/awssnssqs/awssnssqs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -785,11 +785,18 @@ func TestFIFO(t *testing.T) {
useV2: false,
kind: topicKindSQS,
},
{
name: "TestSQSTopicV2",
useV2: true,
kind: topicKindSQS,
},
// This test is flaky because it sets 2 attributes for CreateTopic,
// and the HTTP record/replay randomly re-sorts them. I'm not sure how
// to fix that, so disabling the test. It's also unclear why only
// this test appears affected, maybe the AWS code iterates over the
// map here and doesn't in other cases?
/*
{
name: "TestSQSTopicV2",
useV2: true,
kind: topicKindSQS,
},
*/
} {
t.Run(tt.name, func(t *testing.T) {
testFIFOTopic(t, tt.useV2, tt.kind)
Expand Down

0 comments on commit e0e5901

Please sign in to comment.