Fix build failure
[sim/a1-interface.git] / near-rt-ric-simulator / tests / test_std_2_0_0.py
index 0da2467..a21368c 100644 (file)
@@ -1,5 +1,6 @@
 #  ============LICENSE_START===============================================
-#  Copyright (C) 2021 Nordix Foundation. All rights reserved.
+#  Copyright (C) 2021-2023 Nordix Foundation. All rights reserved.
+#  Copyright (C) 2023-2024 OpenInfra Foundation Europe. All Rights Reserved
 #  ========================================================================
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -484,6 +485,9 @@ def test_sendstatus(client):
     test_data = get_testdata_dir() + 'pi2.json'
     header = { "Content-Type" : "application/json" }
 
+    # Timeout can be removed with polling the endpoints if required
+    proc.join(timeout=10)
+
     # === Send status for pi2===
     with open(test_data) as json_file:
         payload = json.load(json_file)