X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Ftransportpce_tests%2Fwith_docker%2Ftest03_tapi_nbinotifications.py;h=ca59c8162f294f815a5c878f495f4b97056170d5;hb=8be6e0b8b05ca347c3ffac819d47c007cf4e3529;hp=d66f5e240efc8c7aaaf98103ce239db3ce16a6df;hpb=ba957d389f6838790e25a599fac1dc9cdd23b361;p=transportpce.git diff --git a/tests/transportpce_tests/with_docker/test03_tapi_nbinotifications.py b/tests/transportpce_tests/with_docker/test03_tapi_nbinotifications.py index d66f5e240..ca59c8162 100644 --- a/tests/transportpce_tests/with_docker/test03_tapi_nbinotifications.py +++ b/tests/transportpce_tests/with_docker/test03_tapi_nbinotifications.py @@ -352,7 +352,8 @@ class TransportNbiNotificationstesting(unittest.TestCase): "port-qual": "roadm-external"}]} response = requests.request("PUT", url.format("http://127.0.0.1:8141/restconf"), data=json.dumps(body), headers=test_utils.TYPE_APPLICATION_JSON, - auth=(test_utils.ODL_LOGIN, test_utils.ODL_PWD)) + auth=(test_utils.ODL_LOGIN, test_utils.ODL_PWD), + timeout=test_utils.REQUEST_TIMEOUT) self.assertEqual(response.status_code, requests.codes.ok) # If the gate fails is because of the waiting time not being enough time.sleep(2) @@ -379,7 +380,8 @@ class TransportNbiNotificationstesting(unittest.TestCase): "port-qual": "roadm-external"}]} response = requests.request("PUT", url.format("http://127.0.0.1:8141/restconf"), data=json.dumps(body), headers=test_utils.TYPE_APPLICATION_JSON, - auth=(test_utils.ODL_LOGIN, test_utils.ODL_PWD)) + auth=(test_utils.ODL_LOGIN, test_utils.ODL_PWD), + timeout=test_utils.REQUEST_TIMEOUT) self.assertEqual(response.status_code, requests.codes.ok) # If the gate fails is because of the waiting time not being enough time.sleep(2)