From 584e9ad1f50223f873661babae3b365a2b0662ec Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 22 Jul 2021 19:41:11 +0300 Subject: Initial tests for all drivers Signed-off-by: Valery Piashchynski --- .../jobs/beanstalk/.rr-beanstalk-declare.yaml | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml (limited to 'tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml') diff --git a/tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml b/tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml new file mode 100644 index 00000000..85f92bac --- /dev/null +++ b/tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml @@ -0,0 +1,27 @@ +rpc: + listen: tcp://127.0.0.1:6001 + +server: + command: "php ../../client.php echo pipes" + relay: "pipes" + relay_timeout: "20s" + +beanstalk: + # beanstalk address + addr: tcp://localhost:11300 + # connect timeout + timeout: 10s + +logs: + level: debug + encoding: console + mode: development + +jobs: + num_pollers: 10 + pipeline_size: 100000 + pool: + num_workers: 10 + max_jobs: 0 + allocate_timeout: 60s + destroy_timeout: 60s -- cgit v1.2.3 From 3e2e9fbd9650c44d57a41a9dc702fe93aad2b77f Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 11 Aug 2021 11:45:24 +0300 Subject: Replace all 'localhost' with '127.0.0.1'. Fix default configuration and other small bugs. Signed-off-by: Valery Piashchynski --- tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml') diff --git a/tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml b/tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml index 85f92bac..022bf2f4 100644 --- a/tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml +++ b/tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml @@ -8,7 +8,7 @@ server: beanstalk: # beanstalk address - addr: tcp://localhost:11300 + addr: tcp://127.0.0.1:11300 # connect timeout timeout: 10s -- cgit v1.2.3 From 2d460062c97f9ad1e793831c54ae4d177dea83e8 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 11 Aug 2021 22:03:34 +0300 Subject: Durable requeue algo. Update AMQP and Beanstalk tests to use mock logger. Fix bugs discovered during testing. Signed-off-by: Valery Piashchynski --- tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml') diff --git a/tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml b/tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml index 022bf2f4..3555ef96 100644 --- a/tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml +++ b/tests/plugins/jobs/beanstalk/.rr-beanstalk-declare.yaml @@ -2,7 +2,7 @@ rpc: listen: tcp://127.0.0.1:6001 server: - command: "php ../../client.php echo pipes" + command: "php ../../jobs_ok.php" relay: "pipes" relay_timeout: "20s" -- cgit v1.2.3