Skip to content

Commit 71ed475

Browse files
author
Paweł Szulik
committed
Do not disable cpuset metrics in the integration tests.
Signed-off-by: Paweł Szulik <[email protected]>
1 parent 6cadcc9 commit 71ed475

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/integration.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ printf "" # Refresh sudo credentials if necessary.
2626
function start {
2727
set +e # We want to handle errors if cAdvisor crashes.
2828
echo ">> starting cAdvisor locally"
29-
GORACE="halt_on_error=1" ./cadvisor --docker_env_metadata_whitelist=TEST_VAR --v=6 --logtostderr $CADVISOR_ARGS &> "$log_file"
29+
# This cpuset, percpu, memory, disk, diskIO, network, perf_event metrics should be enabled.
30+
GORACE="halt_on_error=1" ./cadvisor --enable_metrics="cpuset,percpu,memory,disk,diskIO,network,perf_event" --docker_env_metadata_whitelist=TEST_VAR --v=6 --logtostderr $CADVISOR_ARGS &> "$log_file"
3031
if [ $? != 0 ]; then
3132
echo "!! cAdvisor exited unexpectedly with Exit $?"
3233
kill $TEST_PID # cAdvisor crashed: abort testing.

0 commit comments

Comments
 (0)