Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gcampax committed Nov 18, 2021
1 parent 0e7c8ab commit 1dbe63e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/nlp-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ${srcdir}/dist/main.js run-nlp --port $NLP_PORT &
inferpid=$!

# kick off a dummy request to the nlp server just to get it ready
sleep 5
sleep 10
curl "http://127.0.0.1:$NLP_PORT/en-US/query?q=hello" || true

# in interactive mode, sleep forever
Expand All @@ -103,7 +103,7 @@ if test "$1" = "--interactive" ; then
sleep 84600
else
# sleep until the process is settled
sleep 30
sleep 20

ts-node $srcdir/tests/nlp
fi
Expand Down
4 changes: 2 additions & 2 deletions tests/thingpedia-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ shuf exact.tsv | head

sha256sum exact.tsv ./exact/en.btrie
sha256sum -c <<EOF
bf22f56e914b9e20bf133325a002df7842fba8f7b271c2f9c4441602c1d1599a exact.tsv
828f33c0a4771b300d3f7c452b09a3bacc05db7297cb3729069bde7ceff1af46 ./exact/en.btrie
a7b8fae5c92429d744bdb686c91a09638b8eb7822b79d790ef83b2ca33a84d7c exact.tsv
cc16d0bcd900c92bd7613d13299b683109bc2f9b2162e10369619f3eacfadffd ./exact/en.btrie
EOF

rm -rf $workdir
Expand Down
4 changes: 2 additions & 2 deletions tests/thingpedia-integration/thingpedia-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ shuf exact.tsv | head

sha256sum exact.tsv ./exact/en.btrie
sha256sum -c <<EOF
bf22f56e914b9e20bf133325a002df7842fba8f7b271c2f9c4441602c1d1599a exact.tsv
828f33c0a4771b300d3f7c452b09a3bacc05db7297cb3729069bde7ceff1af46 ./exact/en.btrie
a7b8fae5c92429d744bdb686c91a09638b8eb7822b79d790ef83b2ca33a84d7c exact.tsv
cc16d0bcd900c92bd7613d13299b683109bc2f9b2162e10369619f3eacfadffd ./exact/en.btrie
EOF

0 comments on commit 1dbe63e

Please sign in to comment.