summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs/amqp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/jobs/amqp')
-rw-r--r--tests/plugins/jobs/amqp/.rr-amqp-declare.yaml24
-rw-r--r--tests/plugins/jobs/amqp/.rr-amqp-init.yaml55
-rw-r--r--tests/plugins/jobs/amqp/.rr-amqp-jobs-err.yaml24
-rw-r--r--tests/plugins/jobs/amqp/.rr-no-global.yaml47
4 files changed, 0 insertions, 150 deletions
diff --git a/tests/plugins/jobs/amqp/.rr-amqp-declare.yaml b/tests/plugins/jobs/amqp/.rr-amqp-declare.yaml
deleted file mode 100644
index f9a7308b..00000000
--- a/tests/plugins/jobs/amqp/.rr-amqp-declare.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-rpc:
- listen: tcp://127.0.0.1:6001
-
-server:
- command: "php ../../jobs_ok.php"
- relay: "pipes"
- relay_timeout: "20s"
-
-amqp:
- addr: amqp://guest:[email protected]:5672/
-
-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
diff --git a/tests/plugins/jobs/amqp/.rr-amqp-init.yaml b/tests/plugins/jobs/amqp/.rr-amqp-init.yaml
deleted file mode 100644
index 43840545..00000000
--- a/tests/plugins/jobs/amqp/.rr-amqp-init.yaml
+++ /dev/null
@@ -1,55 +0,0 @@
-rpc:
- listen: tcp://127.0.0.1:6001
-
-server:
- command: "php ../../jobs_ok.php"
- relay: "pipes"
- relay_timeout: "20s"
-
-amqp:
- addr: amqp://guest:[email protected]:5672/
-
-logs:
- level: debug
- encoding: console
- mode: development
-
-jobs:
- num_pollers: 1
- pipeline_size: 100000
- timeout: 1
- pool:
- num_workers: 10
- max_jobs: 0
- allocate_timeout: 60s
- destroy_timeout: 60s
-
- pipelines:
- test-1:
- driver: amqp
- prefetch: 100
- queue: test-1-queue
- priority: 1
- exchange: default
- exchange_type: direct
- routing_key: test-1
- exclusive: false
- multiple_ack: false
- requeue_on_fail: false
-
- test-2:
- driver: amqp
- prefetch: 100
- queue: test-2-queue
- priority: 2
- exchange: default
- exchange_type: direct
- routing_key: test-2
- exclusive: false
- multiple_ack: false
- requeue_on_fail: false
-
-
- # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually
- consume: [ "test-1", "test-2" ]
-
diff --git a/tests/plugins/jobs/amqp/.rr-amqp-jobs-err.yaml b/tests/plugins/jobs/amqp/.rr-amqp-jobs-err.yaml
deleted file mode 100644
index 79493d96..00000000
--- a/tests/plugins/jobs/amqp/.rr-amqp-jobs-err.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-rpc:
- listen: tcp://127.0.0.1:6001
-
-server:
- command: "php ../../jobs_err.php"
- relay: "pipes"
- relay_timeout: "20s"
-
-amqp:
- addr: amqp://guest:[email protected]:5672/
-
-logs:
- level: debug
- encoding: console
- mode: development
-
-jobs:
- num_pollers: 1
- pipeline_size: 100000
- pool:
- num_workers: 10
- max_jobs: 0
- allocate_timeout: 60s
- destroy_timeout: 60s
diff --git a/tests/plugins/jobs/amqp/.rr-no-global.yaml b/tests/plugins/jobs/amqp/.rr-no-global.yaml
deleted file mode 100644
index 1b01eb73..00000000
--- a/tests/plugins/jobs/amqp/.rr-no-global.yaml
+++ /dev/null
@@ -1,47 +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-1:
- driver: amqp
- priority: 1
- pipeline_size: 100
- queue: test-1-queue
- exchange: default
- exchange_type: direct
- routing_key: test
-
- test-2:
- driver: amqp
- priority: 2
- pipeline_size: 100
- queue: test-2-queue
- exchange: default
- exchange_type: direct
- routing_key: test-2
-
- # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually
- consume: [ "test-1", "test-2" ]
-