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:
@@ -34,7 +34,7 @@
|
|||||||
000013
|
000013
|
||||||
000001
|
000001
|
||||||
000014
|
000014
|
||||||
000002
|
000015
|
||||||
020011
|
020011
|
||||||
020012
|
020012
|
||||||
030011
|
030011
|
||||||
@@ -94,6 +94,12 @@
|
|||||||
<nb_healthy>9</nb_healthy>
|
<nb_healthy>9</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="000015">
|
||||||
|
<class>Attach_UE</class>
|
||||||
|
<desc>Attach OAI UE (Wait for IP)</desc>
|
||||||
|
<id>rfsim4g_ue</id>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
<testCase id="020011">
|
<testCase id="020011">
|
||||||
<class>Ping</class>
|
<class>Ping</class>
|
||||||
<desc>Ping Traffic-Gen from LTE-UE</desc>
|
<desc>Ping Traffic-Gen from LTE-UE</desc>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
000013
|
000013
|
||||||
000001
|
000001
|
||||||
000014
|
000014
|
||||||
000002
|
000015
|
||||||
020011
|
020011
|
||||||
020012
|
020012
|
||||||
030011
|
030011
|
||||||
@@ -94,6 +94,12 @@
|
|||||||
<nb_healthy>9</nb_healthy>
|
<nb_healthy>9</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="000015">
|
||||||
|
<class>Attach_UE</class>
|
||||||
|
<desc>Attach OAI UE (Wait for IP)</desc>
|
||||||
|
<id>rfsim4g_ue</id>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
<testCase id="020011">
|
<testCase id="020011">
|
||||||
<class>Ping</class>
|
<class>Ping</class>
|
||||||
<desc>Ping Traffic-Gen from LTE-UE</desc>
|
<desc>Ping Traffic-Gen from LTE-UE</desc>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
000013
|
000013
|
||||||
000001
|
000001
|
||||||
000014
|
000014
|
||||||
000002
|
000015
|
||||||
020011
|
020011
|
||||||
020012
|
020012
|
||||||
030011
|
030011
|
||||||
@@ -94,6 +94,12 @@
|
|||||||
<nb_healthy>9</nb_healthy>
|
<nb_healthy>9</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="000015">
|
||||||
|
<class>Attach_UE</class>
|
||||||
|
<desc>Attach OAI UE (Wait for IP)</desc>
|
||||||
|
<id>rfsim4g_ue</id>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
<testCase id="020011">
|
<testCase id="020011">
|
||||||
<class>Ping</class>
|
<class>Ping</class>
|
||||||
<desc>Ping Traffic-Gen from LTE-UE</desc>
|
<desc>Ping Traffic-Gen from LTE-UE</desc>
|
||||||
|
|||||||
Reference in New Issue
Block a user