Skip to content

Commit

Permalink
Merge pull request #246 from atlanticwave-sdx/244.rabbitmq-transport-…
Browse files Browse the repository at this point in the history
…indicated-eof

Enable RabbitMQ when testing with tox
  • Loading branch information
sajith committed Mar 14, 2024
2 parents 23d4f8c + e17b368 commit 0ba5a60
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@ setenv =
SDX_PORT = 8080
SDX_VERSION = 1.0.0
SDX_NAME = sdx-controller-test
# Disabling MQ_HOST: We do not test with MQ yet.
# MQ_HOST = localhost
MQ_HOST = localhost
SUB_QUEUE = sdx-controller-test-queue
DB_NAME = sdx-controller-test-db
DB_CONFIG_TABLE_NAME = sdx-controller-test-table
MONGODB_CONNSTRING = mongodb://guest:guest@localhost:27017/

docker =
# Disabling rabbitmq for now, until we write some tests.
# rabbitmq
rabbitmq
mongo

[docker:rabbitmq]
Expand All @@ -34,6 +32,8 @@ image = rabbitmq:latest
ports =
5672:5672/tcp

healthcheck_cmd = rabbitmq-diagnostics -q ping

[docker:mongo]
image = mongo:7.0.5

Expand All @@ -43,3 +43,5 @@ ports =
environment =
MONGO_INITDB_ROOT_USERNAME=guest
MONGO_INITDB_ROOT_PASSWORD=guest

healthcheck_cmd = mongosh localhost:27017/test --quiet

0 comments on commit 0ba5a60

Please sign in to comment.