Skip to content

Commit

Permalink
Fix self-adaptive server mode tests after changes in Marian
Browse files Browse the repository at this point in the history
  • Loading branch information
rihardsk committed Dec 16, 2021
1 parent a8bdf85 commit f95c51c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/_self-adaptive/test_server_mode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ clean_up() {
trap clean_up EXIT

# Test code goes here
$MRT_MARIAN/marian-adaptive -c $MRT_MODELS/wmt16_systems/marian.en-de.scorer.yml -p 8766 > server.log 2>&1 &
$MRT_MARIAN/marian-adaptive-server -c $MRT_MODELS/wmt16_systems/marian.en-de.scorer.yml -p 8766 > server.log 2>&1 &
SERVER_PID=$!

sleep 20
Expand All @@ -19,7 +19,7 @@ kill $SERVER_PID

test -e server.log
grep -q "listening on port 8766" server.log
grep -q '{"output":"das ist ein Beispiel' server.log
grep -q 'Best translation 0 : das ist ein Beispiel' server.log
grep -q "Ep. 2 : Up. 4 : Sen. 2" server.log
grep -q "Ep. 2 : Up. 2 : Sen. 1" server.log
grep -q "No context" server.log
Expand Down

0 comments on commit f95c51c

Please # to comment.