shaofengshi closed pull request #341: KYLIN-3673 Increasing the limit of 
smoke-test building time
URL: https://github.com/apache/kylin/pull/341
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/build/smoke-test/testBuildCube.py 
b/build/smoke-test/testBuildCube.py
index 693d678d5a..9452cf2c51 100644
--- a/build/smoke-test/testBuildCube.py
+++ b/build/smoke-test/testBuildCube.py
@@ -72,7 +72,7 @@ def testBuild(self):
             job_info = json.loads(job_response.text)
             job_status = job_info['job_status']
             try_time = 1
-            while job_status in ('RUNNING', 'PENDING') and try_time <= 20:
+            while job_status in ('RUNNING', 'PENDING') and try_time <= 30:
                 print 'Wait for job complete, try_time = ' + str(try_time)
                 try:
                     job_response = requests.request("GET", job_url, 
headers=headers)


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to