Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions tests/certification/pubsub/aws/snssqs/snssqs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,10 @@ func SNSSQSBasic(t *testing.T) {
)).
Step("publish messages to active topic ==> "+topicActiveName, publishMessages(nil, sidecarName1, topicActiveName, consumerGroup1, consumerGroup2)).
Step("publish messages to passive topic ==> "+topicPassiveName, publishMessages(nil, sidecarName1, topicPassiveName)).
Step("verify if app1 has recevied messages published to active topic", assertMessages(10*time.Second, consumerGroup1)).
Step("verify if app2 has recevied messages published to passive topic", assertMessages(10*time.Second, consumerGroup2)).
Step("verify if app1 has recevied messages published to active topic", assertMessages(20*time.Second,
consumerGroup1)).
Step("verify if app2 has recevied messages published to passive topic", assertMessages(20*time.Second,
consumerGroup2)).
Step("reset", flow.Reset(consumerGroup1, consumerGroup2)).
Run()
}
Expand Down Expand Up @@ -664,7 +666,7 @@ func SNSSQSMultiplePubSubsDifferentConsumerIDs(t *testing.T) {
return func(ctx flow.Context) error {
// assert for messages
for _, m := range messageWatchers {
if !m.Assert(ctx, 25*timeout) {
if !m.Assert(ctx, 40*timeout) {
ctx.Errorf("SNSSQSMultiplePubSubsDifferentConsumerIDs - message assertion failed for watcher: %#v\n", m)
}
}
Expand Down Expand Up @@ -789,7 +791,7 @@ func SNSSQSNonexistingTopic(t *testing.T) {
return func(ctx flow.Context) error {
// assert for messages
for _, m := range messageWatchers {
if !m.Assert(ctx, 25*timeout) {
if !m.Assert(ctx, 30*timeout) {
ctx.Errorf("SNSSQSNonexistingTopic - message assertion failed for watcher: %#v\n", m)
}
}
Expand Down Expand Up @@ -1007,7 +1009,7 @@ func SNSSQSExistingQueueNonexistingTopic(t *testing.T) {
return func(ctx flow.Context) error {
// assert for messages
for _, m := range messageWatchers {
if !m.Assert(ctx, 25*timeout) {
if !m.Assert(ctx, 30*timeout) {
ctx.Errorf("SNSSQSExistingQueueNonexistingTopic - message assertion failed for watcher: %#v\n", m)
}
}
Expand Down Expand Up @@ -1514,7 +1516,7 @@ func SNSSQSMessageDeadLetter(t *testing.T) {
return func(ctx flow.Context) error {
// assert for messages
for _, m := range messageWatchers {
if !m.Assert(ctx, 3*timeout) {
if !m.Assert(ctx, 5*timeout) {
ctx.Errorf("SNSSQSMessageDeadLetter - message assertion failed for watcher: %#v\n", m)
}
}
Expand Down Expand Up @@ -1649,7 +1651,7 @@ func SNSSQSMessageDisableDeleteOnRetryLimit(t *testing.T) {
return func(ctx flow.Context) error {
// assert for messages
for _, m := range messageWatchers {
if !m.Assert(ctx, 3*timeout) {
if !m.Assert(ctx, 10*timeout) {
ctx.Errorf("SNSSQSMessageDisableDeleteOnRetryLimit - message assertion failed for watcher: %#v\n", m)
}
}
Expand Down
Loading