summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs/jobs_sqs_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/jobs/jobs_sqs_test.go')
-rw-r--r--tests/plugins/jobs/jobs_sqs_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugins/jobs/jobs_sqs_test.go b/tests/plugins/jobs/jobs_sqs_test.go
index e5a92916..191c8212 100644
--- a/tests/plugins/jobs/jobs_sqs_test.go
+++ b/tests/plugins/jobs/jobs_sqs_test.go
@@ -438,7 +438,7 @@ func TestSQSStat(t *testing.T) {
time.Sleep(time.Second)
out := &jobState.State{}
- stats(t, out)
+ t.Run("Stats", stats(out))
assert.Equal(t, out.Pipeline, "test-3")
assert.Equal(t, out.Driver, "sqs")
@@ -453,7 +453,7 @@ func TestSQSStat(t *testing.T) {
time.Sleep(time.Second * 7)
out = &jobState.State{}
- stats(t, out)
+ t.Run("Stats", stats(out))
assert.Equal(t, out.Pipeline, "test-3")
assert.Equal(t, out.Driver, "sqs")