summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-23 08:11:48 +0300
committerValery Piashchynski <[email protected]>2021-07-23 08:11:48 +0300
commit6764d0f9e3b8fe34598b425fadf67a043872a604 (patch)
tree1862490366439ab2aebd31fe11a9ffe48ad04cef /tests/plugins/jobs
parent3f45d2c008c95daa923fef0c4c9022b2be462971 (diff)
Remove time.Now() from beanstalk tube declaration
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/jobs')
-rw-r--r--tests/plugins/jobs/jobs_beanstalk_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/jobs/jobs_beanstalk_test.go b/tests/plugins/jobs/jobs_beanstalk_test.go
index d3e0dd2a..b36b4977 100644
--- a/tests/plugins/jobs/jobs_beanstalk_test.go
+++ b/tests/plugins/jobs/jobs_beanstalk_test.go
@@ -224,7 +224,7 @@ func declareBeanstalkPipe(t *testing.T) {
pipe := &jobsv1beta.DeclareRequest{Pipeline: map[string]string{
"driver": "beanstalk",
"name": "test-3",
- "tube": "default-" + time.Now().String(),
+ "tube": "default",
"reserve_timeout": "1",
"priority": "3",
"tube_priority": "10",