Skip to content

Commit

Permalink
fix: correct tests asserts
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Jul 5, 2024
1 parent 2959870 commit 7a6a75d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions tests/env/docker-compose-otel.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.8"

services:
collector:
image: otel/opentelemetry-collector-contrib
Expand Down
2 changes: 0 additions & 2 deletions tests/env/docker-compose-sqs-local.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
localstack:
image: localstack/localstack
Expand Down
2 changes: 1 addition & 1 deletion tests/jobs_sqs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func TestSQSRemovePQ(t *testing.T) {
assert.Equal(t, 2, oLogger.FilterMessageSnippet("pipeline was started").Len())
assert.Equal(t, 2, oLogger.FilterMessageSnippet("pipeline was stopped").Len())
assert.Equal(t, 20, oLogger.FilterMessageSnippet("job was pushed successfully").Len())
assert.Equal(t, 2, oLogger.FilterMessageSnippet("job processing was started").Len())
assert.Equal(t, 4, oLogger.FilterMessageSnippet("job processing was started").Len())
assert.Equal(t, 2, oLogger.FilterMessageSnippet("sqs listener was stopped").Len())
}

Expand Down

0 comments on commit 7a6a75d

Please sign in to comment.