Browse Source

Replace the fixed path prefix with $TEMPEST_DIR

Local devstack with default tempest directory[1] failed due to
mismatched tempest path.

[1]d576620e33/lib/tempest (L47)

Change-Id: I955ad42de21cbc2d609c42392faab69398949dac
stable/queens
Dong Jun 5 years ago
parent
commit
762f59869a
  1. 2
      devstack/plugin.sh

2
devstack/plugin.sh

@ -37,7 +37,7 @@ function configure_l2gw_plugin {
function configure_tempest_for_l2gw {
if is_service_enabled tempest; then
iniset $TEMPEST_CONFIG l2gw l2gw_switch "cell08-5930-01::FortyGigE1/0/1|100"
source /opt/stack/new/tempest/.tox/tempest/bin/activate
source $TEMPEST_DIR/.tox/tempest/bin/activate
pip install -r $L2GW_DIR/test-requirements.txt
deactivate
fi

Loading…
Cancel
Save