X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Flib%2Finspectors%2Fsample;fp=tests%2Flib%2Finspectors%2Fsample;h=0000000000000000000000000000000000000000;hb=f106c5a12724c684d747cf7f309f0ccc8b86cc61;hp=75d5c022893982029f7ca385a5234ada8a5e87e2;hpb=9fd701278bf7d8c5b9451491bcb1a92580adc780;p=doctor.git diff --git a/tests/lib/inspectors/sample b/tests/lib/inspectors/sample deleted file mode 100644 index 75d5c022..00000000 --- a/tests/lib/inspectors/sample +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -INSPECTOR_PORT=${INSPECTOR_PORT:-12345} - -function start_inspector_sample { - pgrep -f "python inspector.py" && return 0 - python inspector.py "$INSPECTOR_PORT" > inspector.log 2>&1 & -} - -function stop_inspector_sample { - pgrep -f "python inspector.py" || return 0 - kill $(pgrep -f "python inspector.py") -} - -function cleanup_inspector_sample { - # Noop - return -}