Skip to content

Commit 0549d48

Browse files
eero-tPaweł Szulik
authored and
Paweł Szulik
committed
Integration tests need "cpu" metric information
1 parent 14d46e3 commit 0549d48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/integration.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +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-
# 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" --env_metadata_whitelist=TEST_VAR --v=6 --logtostderr $CADVISOR_ARGS &> "$log_file"
29+
# cpu, cpuset, percpu, memory, disk, diskIO, network, perf_event metrics should be enabled.
30+
GORACE="halt_on_error=1" ./cadvisor --enable_metrics="cpu,cpuset,percpu,memory,disk,diskIO,network,perf_event" --env_metadata_whitelist=TEST_VAR --v=6 --logtostderr $CADVISOR_ARGS &> "$log_file"
3131
if [ $? != 0 ]; then
3232
echo "!! cAdvisor exited unexpectedly with Exit $?"
3333
kill $TEST_PID # cAdvisor crashed: abort testing.

0 commit comments

Comments
 (0)