From 9079cc51599d6e21ac59e34573f7bbf2e2e87b9e Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Fri, 23 Jul 2021 13:25:09 +0300 Subject: Tests refactoring Signed-off-by: Valery Piashchynski --- .../jobs/ephemeral/.rr-ephemeral-pause-resume.yaml | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 tests/plugins/jobs/ephemeral/.rr-ephemeral-pause-resume.yaml (limited to 'tests/plugins/jobs/ephemeral/.rr-ephemeral-pause-resume.yaml') diff --git a/tests/plugins/jobs/ephemeral/.rr-ephemeral-pause-resume.yaml b/tests/plugins/jobs/ephemeral/.rr-ephemeral-pause-resume.yaml new file mode 100644 index 00000000..dc5bc3a1 --- /dev/null +++ b/tests/plugins/jobs/ephemeral/.rr-ephemeral-pause-resume.yaml @@ -0,0 +1,44 @@ +rpc: + listen: tcp://127.0.0.1:6001 + +server: + command: "php ../../client.php echo pipes" + relay: "pipes" + relay_timeout: "20s" + +logs: + level: info + mode: development + +jobs: + # num logical cores by default + num_pollers: 10 + # 1mi by default + pipeline_size: 100000 + # worker pool configuration + pool: + num_workers: 10 + max_jobs: 0 + allocate_timeout: 60s + destroy_timeout: 60s + + # list of broker pipelines associated with endpoints + pipelines: + test-local: + driver: ephemeral + priority: 10 + pipeline_size: 10000 + + test-local-2: + driver: ephemeral + priority: 1 + pipeline_size: 10000 + + test-local-3: + driver: ephemeral + priority: 2 + pipeline_size: 10000 + + # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually + consume: [ "test-local", "test-local-2" ] + -- cgit v1.2.3 From ecbfc5c5265a9895f4e371ce4388f64df8714e63 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 12 Aug 2021 13:25:36 +0300 Subject: Remove unneeded options, complete tests for the ephemeral, update proto Signed-off-by: Valery Piashchynski --- tests/plugins/jobs/ephemeral/.rr-ephemeral-pause-resume.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/plugins/jobs/ephemeral/.rr-ephemeral-pause-resume.yaml') diff --git a/tests/plugins/jobs/ephemeral/.rr-ephemeral-pause-resume.yaml b/tests/plugins/jobs/ephemeral/.rr-ephemeral-pause-resume.yaml index dc5bc3a1..e1b76263 100644 --- a/tests/plugins/jobs/ephemeral/.rr-ephemeral-pause-resume.yaml +++ b/tests/plugins/jobs/ephemeral/.rr-ephemeral-pause-resume.yaml @@ -2,12 +2,12 @@ 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" logs: - level: info + level: debug mode: development jobs: -- cgit v1.2.3