Skip to content

Commit

Permalink
IS-13: make the propagation delay configurable
Browse files Browse the repository at this point in the history
Default value (1s) increases the duration of the test suite to approx 1min.
  • Loading branch information
pkeroulas committed Oct 22, 2024
1 parent 24a9817 commit 8269c65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nmostesting/suites/IS1301Test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
Not covered yet:
* Persistency: https://specs.amwa.tv/is-13/branches/v1.0-dev/docs/Behaviour.html#persistence-of-updates
* Read only Tags: https://specs.amwa.tv/is-13/branches/v1.0-dev/docs/Behaviour.html#read-only-tags
* Individual Tag reset
* 500 reponses are ignored
Terminology:
Expand All @@ -30,6 +31,7 @@

from ..GenericTest import GenericTest, NMOSTestException

from ..import Config as CONFIG
from ..import TestHelper
import re
import copy
Expand Down Expand Up @@ -109,7 +111,7 @@ def set_resource(self, test, url, node_url, value, prev, expected, msg, link):
# TODO: if put_response.status_code == 500:

# pause to accomodate update propagation
time.sleep(0.1)
time.sleep(CONFIG.API_PROCESSING_TIMEOUT)

# re-GET
resp = self.get_resource(url)
Expand Down

0 comments on commit 8269c65

Please sign in to comment.