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 10d668d commit 5b80b58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nmostesting/suites/IS1301Test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

from ..GenericTest import GenericTest, NMOSTestException

from ..import Config as CONFIG
from ..import TestHelper
import re
import copy
Expand Down Expand Up @@ -109,7 +110,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 5b80b58

Please sign in to comment.