Created
February 9, 2021 00:59
-
-
Save cjeon/dc99cf31a1cad4e5cf5c962ca61e8b00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NON_FINAL_STATES = ["VALIDATING", "PENDING", "RUNNING"] | |
while testMatrix["state"] in NON_FINAL_STATES: | |
sleep(5) | |
# to prevent no output kill, print something. | |
print(".", end="", flush=True) | |
testMatrix = testing.projects().testMatrices() \ | |
.get(projectId=PROJECT_ID, testMatrixId=testMatrix["testMatrixId"]).execute() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment