diff options
author | Valery Piashchynski <[email protected]> | 2021-08-01 19:12:40 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-01 19:12:40 +0300 |
commit | c90c11b92e229280477a9b049e65ca1048825dd4 (patch) | |
tree | 2a38695cad6dc3095b291575cfb40bc56820d86d /tests/env | |
parent | 1e59ec2755a9cdafd26864ba532fa4d3eff46ecd (diff) |
Rework vec based on the channel. Use select statement with the default
branch to handle dead workers inside the channel.
Update docker-compose.yaml used for the tests. Update rabbitmq to 3.9.1.
Replace third-party amqp091 with the official implementation.
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/env')
-rw-r--r-- | tests/env/Dockerfile-beanstalkd.yaml | 8 | ||||
-rw-r--r-- | tests/env/docker-compose.yaml | 9 |
2 files changed, 6 insertions, 11 deletions
diff --git a/tests/env/Dockerfile-beanstalkd.yaml b/tests/env/Dockerfile-beanstalkd.yaml index 7b36f8d3..852385a1 100644 --- a/tests/env/Dockerfile-beanstalkd.yaml +++ b/tests/env/Dockerfile-beanstalkd.yaml @@ -1,13 +1,15 @@ -FROM ubuntu:latest +FROM archlinux:latest ARG DEBIAN_FRONTEND=noninteractive +RUN pacman-key --init -RUN apt-get update && apt-get install -y curl build-essential pkg-config +RUN Y | pacman -Syu --noconfirm +RUN Y | pacman -S --noconfirm curl base-devel pkgconf RUN curl -sL https://github.com/kr/beanstalkd/archive/v1.12.tar.gz | tar xvz -C /tmp WORKDIR /tmp/beanstalkd-1.12 -RUN make +RUN make -j12 RUN cp beanstalkd /usr/bin EXPOSE 11300 diff --git a/tests/env/docker-compose.yaml b/tests/env/docker-compose.yaml index 2573fe7a..dc91e7b6 100644 --- a/tests/env/docker-compose.yaml +++ b/tests/env/docker-compose.yaml @@ -1,4 +1,4 @@ -version: '3' +version: '3.8' services: memcached: @@ -16,9 +16,6 @@ services: toxicproxy: image: shopify/toxiproxy -# ports: -# - "8474:8474" -# - "5673:5673" network_mode: "host" beanstalk: @@ -37,10 +34,6 @@ services: rabbitmq: image: rabbitmq:3-management - environment: - RABBITMQ_DEFAULT_USER: guest - RABBITMQ_DEFAULT_PASS: guest - RABBITMQ_DEFAULT_VHOST: / ports: - "15672:15672" - "5672:5672" |