Skip to content

Commit 7ab5579

Browse files
committed
Adding time to populate database in Travis test
1 parent 48f7f81 commit 7ab5579

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

travis-tests/docker-compose.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ main(){
44
if ! docker-compose up --build -d; then
55
test_failed "$0"
66
fi
7-
if ! sleep 30; then
7+
if ! sleep 40; then
88
test_failed "$0"
99
fi
1010
if ! docker-compose ps; then
@@ -13,7 +13,7 @@ main(){
1313
if ! curl localhost:5000/api/v1/data -X PUT -H "Content-Type: application/json" -d '@data/small-dataset.json'; then
1414
test_failed "$0"
1515
fi
16-
if ! sleep 10; then
16+
if ! sleep 20; then
1717
test_failed "$0"
1818
fi
1919
if ! curl localhost:5000/api/v1/chat -X POST -H "Content-Type: application/json" -d '{"message": "Game of Thrones", "travis": true}'; then

0 commit comments

Comments
 (0)