CI: Remove %cn_ip%/hardcoded IPs from ping test options
With the server object to be passed into ping test, it's not necessary to either hardcode an IP address or provide a template. Instead, always fill the IP address, which simplies the Ping() code. Verify that we don't have an IP address/hardcoded by throwing an assertion.
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
<nodes>obelix</nodes>
|
||||
<svr_id>l2sim4g_ext_dn</svr_id>
|
||||
<svr_node>obelix</svr_node>
|
||||
<ping_args> -c 20 192.168.61.11</ping_args>
|
||||
<ping_args>-c 20</ping_args>
|
||||
<ping_packetloss_threshold>0</ping_packetloss_threshold>
|
||||
</testCase>
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
<nodes>obelix</nodes>
|
||||
<svr_id>l2sim4g_ue</svr_id>
|
||||
<svr_node>obelix</svr_node>
|
||||
<ping_args>-c 20 12.0.0.2</ping_args>
|
||||
<ping_args>-c 20</ping_args>
|
||||
<ping_packetloss_threshold>0</ping_packetloss_threshold>
|
||||
</testCase>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user