mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 03:33:08 +00:00
Set CI branch/PR triggers, revert testing tweaks
This commit is contained in:
parent
b1c6f2e0b2
commit
11b3e897fb
2 changed files with 4 additions and 5 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue