summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs/jobs_ephemeral_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/jobs/jobs_ephemeral_test.go')
-rw-r--r--tests/plugins/jobs/jobs_ephemeral_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugins/jobs/jobs_ephemeral_test.go b/tests/plugins/jobs/jobs_ephemeral_test.go
index 3f296c83..f793da6d 100644
--- a/tests/plugins/jobs/jobs_ephemeral_test.go
+++ b/tests/plugins/jobs/jobs_ephemeral_test.go
@@ -493,7 +493,7 @@ func TestEphemeralStats(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, "ephemeral")
@@ -508,7 +508,7 @@ func TestEphemeralStats(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, "ephemeral")