1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

tests: use random data to avoid false positive due to stale data

This commit is contained in:
Steffen Vogel 2017-07-02 00:14:18 +02:00
parent 2b7687cc4d
commit e4fc06ed9e
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ NUM_SAMPLES=${NUM_SAMPLES:-10}
OFFSET=-10
EPSILON=0.05
villas-signal sine -l ${NUM_SAMPLES} -r 10 | villas-hook shift_ts offset=${OFFSET} | villas-hook stats format=\"json\" output=\"${STATS_FILE}\" > /dev/null
villas-signal random -l ${NUM_SAMPLES} -r 10 | villas-hook shift_ts offset=${OFFSET} | villas-hook stats format=\"json\" output=\"${STATS_FILE}\" > /dev/null
jq .owd ${STATS_FILE}

View file

@ -52,7 +52,7 @@ nodes = {
}
EOF
villas-signal sine -n -l ${NUM_SAMPLES} > ${INPUT_FILE}
villas-signal random -n -l ${NUM_SAMPLES} > ${INPUT_FILE}
villas-pipe -s ${CONFIG_FILE} remote_file_out < ${INPUT_FILE}