Skip to content

Commit 2c857a9

Browse files
authored
Update poll_quick_ci.py
1 parent 601d67e commit 2c857a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/helpers/poll_quick_ci.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ def main():
1212
print(f"Gathering info on the {args.check} check being run for the current pull request.")
1313
polling = True
1414
poll_count = 0
15-
poll_max = 300
15+
poll_max = 3600
1616
while (polling):
1717
for line in subprocess.run(f"gh pr checks -R project-chip/connectedhomeip {args.pr}", stdout=subprocess.PIPE, shell=True).stdout.decode("utf-8").splitlines():
18+
poll_count += 1
1819
if args.check in line:
1920
print(line)
2021
if "pending" in line:
2122
if poll_count == poll_max:
2223
polling = False
2324
else:
24-
poll_count += 1
2525
time.sleep(1)
2626
break
2727
elif "pass" in line:

0 commit comments

Comments
 (0)