From ff1e01dbfbb374cf6343527ca92f0da5d9acdd95 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 25 Oct 2018 17:09:54 +0100 Subject: [PATCH] tests: use new syntax to configure multiple signals of same type --- tests/integration/node-loopback-socket.sh | 14 ++++++++------ tests/integration/pipe-loopback-nanomsg.sh | 11 ++++------- tests/integration/pipe-loopback-socket.sh | 10 ++++------ tests/integration/pipe-loopback-zeromq.sh | 11 ++++------- 4 files changed, 20 insertions(+), 26 deletions(-) diff --git a/tests/integration/node-loopback-socket.sh b/tests/integration/node-loopback-socket.sh index f3e246205..2ad0c2624 100755 --- a/tests/integration/node-loopback-socket.sh +++ b/tests/integration/node-loopback-socket.sh @@ -42,9 +42,10 @@ cat > ${CONFIG_FILE} < ${CONFIG_FILE} < ${CONFIG_FILE} << EOF "in" : { "endpoints" : [ "tcp://127.0.0.1:12000" ], - "signals" : [ - { "type" : "float" }, - { "type" : "float" }, - { "type" : "float" }, - { "type" : "float" }, - { "type" : "float" } - ] + "signals" : { + "type" : "float", + "count" : 5 + } }, "out" : { "endpoints" : [ "tcp://127.0.0.1:12000" ] diff --git a/tests/integration/pipe-loopback-socket.sh b/tests/integration/pipe-loopback-socket.sh index 67a306a27..9c96243cc 100755 --- a/tests/integration/pipe-loopback-socket.sh +++ b/tests/integration/pipe-loopback-socket.sh @@ -90,12 +90,10 @@ cat > ${CONFIG_FILE} << EOF "in" : { "address" : "${LOCAL}", "verify_source" : ${VERIFY_SOURCE}, - "signals" : [ - { "type" : "float" }, - { "type" : "float" }, - { "type" : "float" }, - { "type" : "float" } - ] + "signals" : { + "count" : ${NUM_VALUES}, + "type" : "float" + } } } } diff --git a/tests/integration/pipe-loopback-zeromq.sh b/tests/integration/pipe-loopback-zeromq.sh index 29713673a..eb5d4e63d 100755 --- a/tests/integration/pipe-loopback-zeromq.sh +++ b/tests/integration/pipe-loopback-zeromq.sh @@ -52,13 +52,10 @@ cat > ${CONFIG_FILE} << EOF }, "in" : { "subscribe" : "tcp://127.0.0.1:12000", - "signals" : [ - { "type" : "float" }, - { "type" : "float" }, - { "type" : "float" }, - { "type" : "float" }, - { "type" : "float" } - ] + "signals" : { + "type" : "float", + "count" : 5 + } } } }