Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Refactor cpu metrics tests to make L0_metrics more stable #7476

Merged
merged 12 commits into from
Jul 29, 2024
Merged
Prev Previous commit
Next Next commit
Fix typo
  • Loading branch information
rmccorm4 committed Jul 26, 2024
commit e51bc6b6882f7c7635ba102c95334c0f975cc6c8
8 changes: 4 additions & 4 deletions qa/L0_metrics/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ mkdir -p $MODELDIR/${model}/1 && \
sed -i "s/label_filename:.*//" config.pbtxt && \
echo "instance_group [{ kind: KIND_GPU }]" >> config.pbtxt)

### CPU / RAM metrics tests
### CPU / RAM metrics tests
set +e
CLIENT_PY="./cpu_memory_metrics_test.py"
SERVER_LOG="cpu_memory_metrics_test_server.log"
CLIENT_PY="./cpu_metrics_test.py"
SERVER_LOG="cpu_metrics_test_server.log"
SERVER_ARGS="$BASE_SERVER_ARGS --metrics-interval-ms=1 --log-verbose=1"
run_and_check_server

CLIENT_LOG="cpu_memory_metrics_test_client.log"
CLIENT_LOG="cpu_metrics_test_client.log"
python3 ${CLIENT_PY} -v 2>&1 | tee ${CLIENT_LOG}
check_unit_test

Expand Down
Loading