summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/jobs/helpers.go')
-rw-r--r--tests/plugins/jobs/helpers.go18
1 files changed, 6 insertions, 12 deletions
diff --git a/tests/plugins/jobs/helpers.go b/tests/plugins/jobs/helpers.go
index 831c732c..4c2f2fea 100644
--- a/tests/plugins/jobs/helpers.go
+++ b/tests/plugins/jobs/helpers.go
@@ -73,12 +73,9 @@ func pushToPipe(pipeline string) func(t *testing.T) {
Payload: `{"hello":"world"}`,
Headers: map[string]*jobsv1beta.HeaderValue{"test": {Value: []string{"test2"}}},
Options: &jobsv1beta.Options{
- Priority: 1,
- Pipeline: pipeline,
- Delay: 0,
- Attempts: 0,
- RetryDelay: 0,
- Timeout: 0,
+ Priority: 1,
+ Pipeline: pipeline,
+ Delay: 0,
},
}}
@@ -100,12 +97,9 @@ func pushToPipeErr(pipeline string) func(t *testing.T) {
Payload: `{"hello":"world"}`,
Headers: map[string]*jobsv1beta.HeaderValue{"test": {Value: []string{"test2"}}},
Options: &jobsv1beta.Options{
- Priority: 1,
- Pipeline: pipeline,
- Delay: 0,
- Attempts: 0,
- RetryDelay: 0,
- Timeout: 0,
+ Priority: 1,
+ Pipeline: pipeline,
+ Delay: 0,
},
}}