diff options
Diffstat (limited to 'tests/plugins/jobs/jobs_sqs_test.go')
-rw-r--r-- | tests/plugins/jobs/jobs_sqs_test.go | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/plugins/jobs/jobs_sqs_test.go b/tests/plugins/jobs/jobs_sqs_test.go index 359842dc..7cad3876 100644 --- a/tests/plugins/jobs/jobs_sqs_test.go +++ b/tests/plugins/jobs/jobs_sqs_test.go @@ -222,12 +222,13 @@ func declareSQSPipe(t *testing.T) { client := rpc.NewClientWithCodec(goridgeRpc.NewClientCodec(conn)) pipe := &jobsv1beta.DeclareRequest{Pipeline: map[string]string{ - "driver": "sqs", - "name": "test-3", - "queue": "default", - "prefetch": "100", - "priority": "3", - "wait_time": "3", + "driver": "sqs", + "name": "test-3", + "queue": "default", + "prefetch": "10", + "priority": "3", + "visibility_timeout": "0", + "wait_time_seconds": "3", }} er := &jobsv1beta.Empty{} |