diff options
author | Valery Piashchynski <[email protected]> | 2021-06-22 09:54:53 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-22 09:54:53 +0300 |
commit | 260d69c21fba6d763d05dc5693689ddf7ce7bfe2 (patch) | |
tree | 0d0b8bb5704a60cbf2d805322dc200e5b1a113be /tests | |
parent | 41bb9fa5938125217a075c60f1e39dc3a9a27537 (diff) |
- Temporary turn off CI
- Remove old PHP tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/docker-compose-jobs.yml | 22 | ||||
-rw-r--r-- | tests/psr-worker.php | 2 |
2 files changed, 23 insertions, 1 deletions
diff --git a/tests/docker-compose-jobs.yml b/tests/docker-compose-jobs.yml new file mode 100644 index 00000000..7b88c9cf --- /dev/null +++ b/tests/docker-compose-jobs.yml @@ -0,0 +1,22 @@ +version: "3" + +services: + beanstalk: + image: schickling/beanstalkd + ports: + - "11300:11300" + + sqs: + image: vsouza/sqs-local + ports: + - "9324:9324" + + rabbitmq: + image: rabbitmq:3-management + environment: + RABBITMQ_DEFAULT_USER: guest + RABBITMQ_DEFAULT_PASS: guest + RABBITMQ_DEFAULT_VHOST: / + ports: + - "15672:15672" + - "5672:5672"
\ No newline at end of file diff --git a/tests/psr-worker.php b/tests/psr-worker.php index db53eee2..de4befbc 100644 --- a/tests/psr-worker.php +++ b/tests/psr-worker.php @@ -20,7 +20,7 @@ while ($req = $psr7->waitRequest()) { try { $resp = new \Nyholm\Psr7\Response(); $resp->getBody()->write(str_repeat("hello world", 1000)); - + $psr7->respond($resp); } catch (\Throwable $e) { $psr7->getWorker()->error((string)$e); |