From dc5add7526d81c29da412c6b8076e51c1483f379 Mon Sep 17 00:00:00 2001 From: vishalseshagiri Date: Wed, 2 Aug 2017 18:22:34 +0530 Subject: [PATCH] mend Former-commit-id: e5ee9da08c607c19abec687cda92a7fe39bd9bcb --- .travis.yml | 1 + test.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8b15b1ee..4bc8b815 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,7 @@ install: - docker exec -i -u root frappe bash -c "echo 127.0.0.1 site1.local >> /etc/hosts" - sudo su -c 'echo 127.0.0.1 site1.local >> /etc/hosts' - docker exec -id frappe bash -c "bench start" + - pip install requests script: - docker-compose ps | grep -i frappe diff --git a/test.py b/test.py index 5e1ee44f..d2383276 100644 --- a/test.py +++ b/test.py @@ -1,6 +1,6 @@ import subprocess,requests,time -time.wait(45) +time.sleep(45) try: r = requests.get("site1.local:8000")