summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs/configs
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-23 13:25:09 +0300
committerValery Piashchynski <[email protected]>2021-07-23 13:25:09 +0300
commit9079cc51599d6e21ac59e34573f7bbf2e2e87b9e (patch)
tree2e0332039ef90030a49c1878025a30ba6e49acf7 /tests/plugins/jobs/configs
parentf585c654027f6dc40d7e3a3cdf7906006ed2427a (diff)
Tests refactoring
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/jobs/configs')
-rw-r--r--tests/plugins/jobs/configs/.rr-jobs-init-no-amqp-global.yaml75
-rw-r--r--tests/plugins/jobs/configs/.rr-jobs-list.yaml91
-rw-r--r--tests/plugins/jobs/configs/.rr-jobs-pause-resume-all.yaml78
-rw-r--r--tests/plugins/jobs/configs/.rr-jobs-pause-resume-amqp.yaml78
-rw-r--r--tests/plugins/jobs/configs/.rr-jobs-pause-resume-ephemeral.yaml44
5 files changed, 0 insertions, 366 deletions
diff --git a/tests/plugins/jobs/configs/.rr-jobs-init-no-amqp-global.yaml b/tests/plugins/jobs/configs/.rr-jobs-init-no-amqp-global.yaml
deleted file mode 100644
index 0d141b2b..00000000
--- a/tests/plugins/jobs/configs/.rr-jobs-init-no-amqp-global.yaml
+++ /dev/null
@@ -1,75 +0,0 @@
-rpc:
- listen: tcp://127.0.0.1:6001
-
-server:
- command: "php ../../client.php echo pipes"
- relay: "pipes"
- relay_timeout: "20s"
-
-logs:
- level: error
- 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
-
- test-1:
- driver: amqp
- priority: 1
- pipeline_size: 1000000
- queue: test-1-queue
- exchange: default
- exchange_type: direct
- routing_key: test
-
- test-2-amqp:
- driver: amqp
- priority: 2
- pipeline_size: 100000
- queue: test-2-queue
- exchange: default
- exchange_type: direct
- routing_key: test-2
-
- test-2:
- driver: beanstalk
- priority: 11
- tube: default
- pipeline_size: 1000000
-
- test-3:
- # priority: 11 - not defined, 10 by default
- # driver locality not specified, local by default
- driver: sqs
- pipeline_size: 1000000
- queue: default
-
- # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually
- consume: [ "test-local", "test-local-2", "test-local-3", "test-1", "test-2-amqp" ]
-
diff --git a/tests/plugins/jobs/configs/.rr-jobs-list.yaml b/tests/plugins/jobs/configs/.rr-jobs-list.yaml
deleted file mode 100644
index 3d22a098..00000000
--- a/tests/plugins/jobs/configs/.rr-jobs-list.yaml
+++ /dev/null
@@ -1,91 +0,0 @@
-rpc:
- listen: tcp://127.0.0.1:6001
-
-server:
- command: "php ../../client.php echo pipes"
- relay: "pipes"
- relay_timeout: "20s"
-
-amqp:
- addr: amqp://guest:guest@localhost:5672/
-
- # beanstalk configuration
-beanstalk:
- addr: tcp://localhost:11300
-
- # amazon sqs configuration
-sqs:
- key: api-key
- secret: api-secret
- region: us-west-1
- endpoint: http://localhost:9324
- declare:
- MessageRetentionPeriod: 86400
-
-logs:
- level: debug
- 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
-
- test-1:
- driver: amqp
- priority: 1
- pipeline_size: 1000000
- queue: test-1-queue
- exchange: default
- exchange_type: direct
- routing_key: test
-
- test-2-amqp:
- driver: amqp
- priority: 2
- pipeline_size: 100000
- queue: test-2-queue
- exchange: default
- exchange_type: direct
- routing_key: test-2
-
- test-2:
- driver: beanstalk
- priority: 11
- tube: default
- pipeline_size: 1000000
-
- test-3:
- # priority: 11 - not defined, 10 by default
- # driver locality not specified, local by default
- driver: sqs
- pipeline_size: 1000000
- queue: default
-
- # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually
- consume: [ "test-local", "test-local-2", "test-local-3", "test-1", "test-2-amqp" ]
-
diff --git a/tests/plugins/jobs/configs/.rr-jobs-pause-resume-all.yaml b/tests/plugins/jobs/configs/.rr-jobs-pause-resume-all.yaml
deleted file mode 100644
index 8789e872..00000000
--- a/tests/plugins/jobs/configs/.rr-jobs-pause-resume-all.yaml
+++ /dev/null
@@ -1,78 +0,0 @@
-rpc:
- listen: tcp://127.0.0.1:6001
-
-server:
- command: "php ../../client.php echo pipes"
- relay: "pipes"
- relay_timeout: "20s"
-
-amqp:
- addr: amqp://guest:guest@localhost:5672/
-
-logs:
- level: debug
- 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
-
- test-1:
- driver: amqp
- priority: 1
- pipeline_size: 1000000
- queue: test-1-queue
- exchange: default
- exchange_type: direct
- routing_key: test
-
- test-2-amqp:
- driver: amqp
- priority: 2
- pipeline_size: 100000
- queue: test-2-queue
- exchange: default
- exchange_type: direct
- routing_key: test-2
-
- test-2:
- driver: beanstalk
- priority: 11
- tube: default
- pipeline_size: 1000000
-
- test-3:
- # priority: 11 - not defined, 10 by default
- # driver locality not specified, local by default
- driver: sqs
- pipeline_size: 1000000
- queue: default
-
- # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually
- consume: [ "test-local", "test-local-2", "test-local-3", "test-1", "test-2-amqp" ]
-
diff --git a/tests/plugins/jobs/configs/.rr-jobs-pause-resume-amqp.yaml b/tests/plugins/jobs/configs/.rr-jobs-pause-resume-amqp.yaml
deleted file mode 100644
index 8789e872..00000000
--- a/tests/plugins/jobs/configs/.rr-jobs-pause-resume-amqp.yaml
+++ /dev/null
@@ -1,78 +0,0 @@
-rpc:
- listen: tcp://127.0.0.1:6001
-
-server:
- command: "php ../../client.php echo pipes"
- relay: "pipes"
- relay_timeout: "20s"
-
-amqp:
- addr: amqp://guest:guest@localhost:5672/
-
-logs:
- level: debug
- 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
-
- test-1:
- driver: amqp
- priority: 1
- pipeline_size: 1000000
- queue: test-1-queue
- exchange: default
- exchange_type: direct
- routing_key: test
-
- test-2-amqp:
- driver: amqp
- priority: 2
- pipeline_size: 100000
- queue: test-2-queue
- exchange: default
- exchange_type: direct
- routing_key: test-2
-
- test-2:
- driver: beanstalk
- priority: 11
- tube: default
- pipeline_size: 1000000
-
- test-3:
- # priority: 11 - not defined, 10 by default
- # driver locality not specified, local by default
- driver: sqs
- pipeline_size: 1000000
- queue: default
-
- # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually
- consume: [ "test-local", "test-local-2", "test-local-3", "test-1", "test-2-amqp" ]
-
diff --git a/tests/plugins/jobs/configs/.rr-jobs-pause-resume-ephemeral.yaml b/tests/plugins/jobs/configs/.rr-jobs-pause-resume-ephemeral.yaml
deleted file mode 100644
index dc5bc3a1..00000000
--- a/tests/plugins/jobs/configs/.rr-jobs-pause-resume-ephemeral.yaml
+++ /dev/null
@@ -1,44 +0,0 @@
-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" ]
-