From 6338e2fa6e4cb2251afdbd2613e3a924dd53a323 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 4 Dec 2018 10:44:50 +0100 Subject: [PATCH] tests: fix debugging levels --- tests/integration/pipe-loopback-shmem.sh | 3 --- tests/integration/pipe-loopback-socket.sh | 2 +- tests/integration/pipe-loopback-websocket.sh | 6 ++---- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/tests/integration/pipe-loopback-shmem.sh b/tests/integration/pipe-loopback-shmem.sh index 808150406..687302ef5 100755 --- a/tests/integration/pipe-loopback-shmem.sh +++ b/tests/integration/pipe-loopback-shmem.sh @@ -34,9 +34,6 @@ for VECTORIZE in 1 5 25; do cat > ${CONFIG_FILE} << EOF { - "logging" : { - "level" : 2 - }, "nodes" : { "node1" : { "type" : "shmem", diff --git a/tests/integration/pipe-loopback-socket.sh b/tests/integration/pipe-loopback-socket.sh index c6dee35bc..bf56a63d7 100755 --- a/tests/integration/pipe-loopback-socket.sh +++ b/tests/integration/pipe-loopback-socket.sh @@ -99,7 +99,7 @@ cat > ${CONFIG_FILE} << EOF } EOF -villas-pipe -d debug -l ${NUM_SAMPLES} ${CONFIG_FILE} node1 < ${INPUT_FILE} > ${OUTPUT_FILE} +villas-pipe -l ${NUM_SAMPLES} ${CONFIG_FILE} node1 < ${INPUT_FILE} > ${OUTPUT_FILE} # Ignore timestamp and seqeunce no if in raw format if ! villas_format_supports_header $FORMAT; then diff --git a/tests/integration/pipe-loopback-websocket.sh b/tests/integration/pipe-loopback-websocket.sh index b44fa37cb..e38eaa4a4 100755 --- a/tests/integration/pipe-loopback-websocket.sh +++ b/tests/integration/pipe-loopback-websocket.sh @@ -35,7 +35,6 @@ NUM_SAMPLES=${NUM_SAMPLES:-100} cat > ${CONFIG_FILE} << EOF { - "logging" : { "level" : 15 }, "nodes" : { "node1" : { "type" : "websocket", @@ -53,7 +52,6 @@ cat > ${CONFIG_FILE2} << EOF "http" : { "port" : 8080 }, - "logging" : { "level" : 15 }, "nodes" : { "node2" : { "type" : "websocket" @@ -67,12 +65,12 @@ VILLAS_LOG_PREFIX=$(colorize "[Signal]") \ villas-signal -l ${NUM_SAMPLES} -n random > ${INPUT_FILE} VILLAS_LOG_PREFIX=$(colorize "[Recv] ") \ -villas-pipe -r -d debug -l ${NUM_SAMPLES} ${CONFIG_FILE2} node2 | tee ${OUTPUT_FILE} & +villas-pipe -r -l ${NUM_SAMPLES} ${CONFIG_FILE2} node2 | tee ${OUTPUT_FILE} & sleep 1 VILLAS_LOG_PREFIX=$(colorize "[Send] ") \ -villas-pipe -s -d debug ${CONFIG_FILE} node1 < <(sleep 1; cat ${INPUT_FILE}) +villas-pipe -s ${CONFIG_FILE} node1 < <(sleep 1; cat ${INPUT_FILE}) wait $!