From 8269c654ab667a882ff30854fada56c10c9e3768 Mon Sep 17 00:00:00 2001 From: Patrick Keroulas Date: Tue, 22 Oct 2024 15:53:46 -0400 Subject: [PATCH] IS-13: make the propagation delay configurable Default value (1s) increases the duration of the test suite to approx 1min. --- nmostesting/suites/IS1301Test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nmostesting/suites/IS1301Test.py b/nmostesting/suites/IS1301Test.py index 8ce57fa0..7eec8467 100644 --- a/nmostesting/suites/IS1301Test.py +++ b/nmostesting/suites/IS1301Test.py @@ -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: @@ -30,6 +31,7 @@ from ..GenericTest import GenericTest, NMOSTestException +from ..import Config as CONFIG from ..import TestHelper import re import copy @@ -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)