tests/e2e: add missing sleep

This commit is contained in:
Leo Antunes 2019-07-14 14:44:40 +02:00 committed by GitHub
parent 6b4ec4bad9
commit 7434feba81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ test_node_restart() {
docker stop test2-orig docker stop test2-orig
docker start test2-orig docker start test2-orig
sleep 3
docker exec test1-orig ping -c1 -W1 test2 || (docker logs test1-orig; docker logs test2-orig; false) docker exec test1-orig ping -c1 -W1 test2 || (docker logs test1-orig; docker logs test2-orig; false)
stop_test_container test2-orig stop_test_container test2-orig