X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Flib%2Finspectors%2Fsample;h=75d5c022893982029f7ca385a5234ada8a5e87e2;hb=8f72e695538c2281f923bdbf7a6d7b1d1763c70c;hp=d09f7ad0854bb1662a2cdfc4153c4181a5d4c7f4;hpb=f093b7f19e8cd6f76b26117b18b3c9e552ad5bcc;p=doctor.git diff --git a/tests/lib/inspectors/sample b/tests/lib/inspectors/sample index d09f7ad0..75d5c022 100644 --- a/tests/lib/inspectors/sample +++ b/tests/lib/inspectors/sample @@ -1,9 +1,9 @@ #!/bin/bash +INSPECTOR_PORT=${INSPECTOR_PORT:-12345} + function start_inspector_sample { pgrep -f "python inspector.py" && return 0 - # TODO (r-mibu): make sample inspector use keystone v3 api - OS_AUTH_URL=${OS_AUTH_URL/v3/v2.0} \ python inspector.py "$INSPECTOR_PORT" > inspector.log 2>&1 & }