Set CI branch/PR triggers, revert testing tweaks

This commit is contained in:
Jason Lawrence 2020-11-17 20:48:31 -06:00
parent b1c6f2e0b2
commit 11b3e897fb
2 changed files with 4 additions and 5 deletions

View file

@ -5,9 +5,9 @@ name: CI
on:
push:
# branches: [ $default-branch ]
# pull_request:
# branches: [ $default-branch ]
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
env:
DEFAULT_PYTHON: 3.7

View file

@ -3,7 +3,7 @@ import time
import pytest
MAX_ATTEMPTS = 180
MAX_ATTEMPTS = 60
def wait_for_idle_server(server):
@ -27,7 +27,6 @@ def wait_for_metadata_processing(server):
if tl.updateQueueSize > 0:
busy = True
print("{title}: {updateQueueSize} items left".format(title=section.title, updateQueueSize=tl.updateQueueSize))
print(tl._data.attrib)
if not busy or attempts > MAX_ATTEMPTS:
break
time.sleep(1)