Code Review
/
doctor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
ability to run maintenance test
[doctor.git]
/
tests
/
lib
/
inspectors
/
sample
diff --git
a/tests/lib/inspectors/sample
b/tests/lib/inspectors/sample
index
cd21a00
..
75d5c02
100644
(file)
--- a/
tests/lib/inspectors/sample
+++ b/
tests/lib/inspectors/sample
@@
-1,5
+1,7
@@
#!/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 &