summaryrefslogtreecommitdiff
path: root/plugins/jobs/structs/job_options_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jobs/structs/job_options_test.go')
-rw-r--r--plugins/jobs/structs/job_options_test.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/jobs/structs/job_options_test.go b/plugins/jobs/structs/job_options_test.go
index 18702394..a16f7dd0 100644
--- a/plugins/jobs/structs/job_options_test.go
+++ b/plugins/jobs/structs/job_options_test.go
@@ -79,10 +79,10 @@ func TestOptions_Merge(t *testing.T) {
})
assert.Equal(t, "pipeline", opts.Pipeline)
- assert.Equal(t, 1, opts.Attempts)
- assert.Equal(t, 2, opts.Delay)
- assert.Equal(t, 1, opts.Timeout)
- assert.Equal(t, 1, opts.RetryDelay)
+ assert.Equal(t, uint64(1), opts.Attempts)
+ assert.Equal(t, uint64(2), opts.Delay)
+ assert.Equal(t, uint64(1), opts.Timeout)
+ assert.Equal(t, uint64(1), opts.RetryDelay)
}
func TestOptions_MergeKeepOriginal(t *testing.T) {
@@ -103,8 +103,8 @@ func TestOptions_MergeKeepOriginal(t *testing.T) {
})
assert.Equal(t, "default", opts.Pipeline)
- assert.Equal(t, 10, opts.Attempts)
- assert.Equal(t, 10, opts.Delay)
- assert.Equal(t, 10, opts.Timeout)
- assert.Equal(t, 10, opts.RetryDelay)
+ assert.Equal(t, uint64(10), opts.Attempts)
+ assert.Equal(t, uint64(10), opts.Delay)
+ assert.Equal(t, uint64(10), opts.Timeout)
+ assert.Equal(t, uint64(10), opts.RetryDelay)
}