diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-12-16 20:42:12 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-12-16 20:42:12 -0600 |
commit | e8d27d14d617cb32df9965a13e736928395f31fe (patch) | |
tree | 303c1ac83bb47ae975becac79b824723fe12a8de | |
parent | 900ce861b17b715d0591641c32b4284512cbac46 (diff) | |
parent | d6b059885af9ddf36f464d9decd61a80db3ed96c (diff) | |
download | cryptography-e8d27d14d617cb32df9965a13e736928395f31fe.tar.gz cryptography-e8d27d14d617cb32df9965a13e736928395f31fe.tar.bz2 cryptography-e8d27d14d617cb32df9965a13e736928395f31fe.zip |
Merge pull request #1530 from alex/sleep
Fixed #1372 -- sleep before checking if the build completed to ensure the buidl exists
-rw-r--r-- | tasks.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -17,6 +17,9 @@ JENKINS_URL = "https://jenkins.cryptography.io/job/cryptography-wheel-builder" def wait_for_build_completed(session): + # Wait 3 seconds before actually checking if the build is complete, to + # ensure that it had time to really start. + time.sleep(3) while True: response = session.get( "{0}/lastBuild/api/json/".format(JENKINS_URL), |