X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Flib%2Finspectors%2Fsample;h=75d5c022893982029f7ca385a5234ada8a5e87e2;hb=9fd701278bf7d8c5b9451491bcb1a92580adc780;hp=d09f7ad0854bb1662a2cdfc4153c4181a5d4c7f4;hpb=89cd27c623e929e837a02eef0622c4ef33772ade;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 & }