CI RFsim-4G: wait for attach, instead of sleep

For various reasons, the UE might take longer to connect to the eNB. A
simple sleep might not be enough; instead, use Attach() to actively wait
that the UE gets an IP address. The added bonus of this function is that
it will also stop&restart a UE if it did not attach, i.e., it will try
multiple times to attach the UE.
This commit is contained in:
Robert Schmidt
2024-04-15 13:16:10 +02:00
parent d81b617d1c
commit 5fa52ecf76
3 changed files with 21 additions and 3 deletions
@@ -34,7 +34,7 @@
000013
000001
000014
000002
000015
020011
020012
030011
@@ -94,6 +94,12 @@
<nb_healthy>9</nb_healthy>
</testCase>
<testCase id="000015">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim4g_ue</id>
</testCase>
<testCase id="020011">
<class>Ping</class>
<desc>Ping Traffic-Gen from LTE-UE</desc>
@@ -34,7 +34,7 @@
000013
000001
000014
000002
000015
020011
020012
030011
@@ -94,6 +94,12 @@
<nb_healthy>9</nb_healthy>
</testCase>
<testCase id="000015">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim4g_ue</id>
</testCase>
<testCase id="020011">
<class>Ping</class>
<desc>Ping Traffic-Gen from LTE-UE</desc>
@@ -34,7 +34,7 @@
000013
000001
000014
000002
000015
020011
020012
030011
@@ -94,6 +94,12 @@
<nb_healthy>9</nb_healthy>
</testCase>
<testCase id="000015">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim4g_ue</id>
</testCase>
<testCase id="020011">
<class>Ping</class>
<desc>Ping Traffic-Gen from LTE-UE</desc>