From 528777fa295bfaafbff24910fd3da7dd978d391b Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Thu, 9 Jul 2020 11:38:28 +0100 Subject: [PATCH] Added sleep to avoid nas test concurrency issue. --- srsue/test/upper/nas_test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srsue/test/upper/nas_test.cc b/srsue/test/upper/nas_test.cc index a9665cd43..803fbec39 100644 --- a/srsue/test/upper/nas_test.cc +++ b/srsue/test/upper/nas_test.cc @@ -311,6 +311,8 @@ int mme_attach_request_test() gw.init(gw_args, logger, &stack); stack.init(&nas); + usleep(5000); // Wait for stack to initialize before stoping it. + // trigger test stack.switch_on(); stack.stop();