Loading tests/oran/test_qod_notifications.py +3 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ def notification_server(): Binds to 0.0.0.0:40000 so the callback URL is http://localhost:40000/callback matching existing examples in tests. """ host, port = "0.0.0.0", 40000 host, port = "192.168.40.50", 40000 received: List[dict] = [] handler = _make_handler(received) httpd = _ThreadingHTTPServer((host, port), handler) Loading Loading @@ -172,6 +172,8 @@ def test_qod_create_get_delete_with_notifications(oran_client: BaseOranClient, n # Delete policy oran_client.delete_qod_session(policy_id) time.sleep(15) # Expect an additional callback (e.g., deletion) assert _wait_for_callbacks( notification_server["received"], 2, timeout=10, start_len=start_len Loading Loading
tests/oran/test_qod_notifications.py +3 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ def notification_server(): Binds to 0.0.0.0:40000 so the callback URL is http://localhost:40000/callback matching existing examples in tests. """ host, port = "0.0.0.0", 40000 host, port = "192.168.40.50", 40000 received: List[dict] = [] handler = _make_handler(received) httpd = _ThreadingHTTPServer((host, port), handler) Loading Loading @@ -172,6 +172,8 @@ def test_qod_create_get_delete_with_notifications(oran_client: BaseOranClient, n # Delete policy oran_client.delete_qod_session(policy_id) time.sleep(15) # Expect an additional callback (e.g., deletion) assert _wait_for_callbacks( notification_server["received"], 2, timeout=10, start_len=start_len Loading