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: fix integration test for hook shift_ts

This commit is contained in:
Steffen Vogel 2018-10-21 22:29:18 +01:00
parent 40cee5bde3
commit a49920af07

View file

@ -27,10 +27,11 @@ STATS_FILE=$(mktemp)
NUM_SAMPLES=${NUM_SAMPLES:-10}
OFFSET=-10.0
EPSILON=0.05
EPSILON=0.5
villas-signal -l ${NUM_SAMPLES} -r 50 random | \
villas-hook -o offset=${OFFSET} shift_ts | \
villas-hook fix | \
villas-hook -o format=json -o output="${STATS_FILE}" stats > /dev/null
jq .owd ${STATS_FILE}