Improve finding of the location of the secondary umbrella
in integration tests
This commit is contained in:
parent
2cd020a0da
commit
1316f255d9
|
@ -279,13 +279,7 @@ def rabbitmq_integration_suite(
|
|||
"RABBITMQCTL": "$TEST_SRCDIR/$TEST_WORKSPACE/{}/broker-for-tests-home/sbin/rabbitmqctl".format(package),
|
||||
"RABBITMQ_PLUGINS": "$TEST_SRCDIR/$TEST_WORKSPACE/{}/broker-for-tests-home/sbin/rabbitmq-plugins".format(package),
|
||||
"RABBITMQ_QUEUES": "$TEST_SRCDIR/$TEST_WORKSPACE/{}/broker-for-tests-home/sbin/rabbitmq-queues".format(package),
|
||||
|
||||
# The following variations were observed on different
|
||||
# versions of bazel and in different environments:
|
||||
# - _main~secondary_umbrella~rabbitmq-server-generic-unix-3.11
|
||||
# - @~secondary_umbrella~rabbitmq-server-generic-unix-3.11
|
||||
# - .secondary_umbrella.rabbitmq-server-generic-unix-3.11
|
||||
"RABBITMQ_RUN_SECONDARY": "$(ls $TEST_SRCDIR/*secondary_umbrella*rabbitmq-server-generic-unix-3.11/rabbitmq-run)",
|
||||
"RABBITMQ_RUN_SECONDARY": "$(location @rabbitmq-server-generic-unix-3.11//:rabbitmq-run)",
|
||||
"LANG": "C.UTF-8",
|
||||
}.items() + test_env.items()),
|
||||
tools = [
|
||||
|
|
Loading…
Reference in New Issue