NS_Emulation: expect altstep timeout entry only if timer is running
Should fix the following log message: NS_Emulation.ttcnpp:784 Timeout operation on timer Tns_alive failed: The timer is not started. Change-Id: If1fae965659f73fde2508b0e9158099025fa65f2
This commit is contained in:
parent
f7926c070a
commit
1cbbf9edb6
|
@ -781,13 +781,13 @@ testcasename(), NS_Provider_IPL4_CT nsp_ip := null) runs on NSVC_CT {
|
|||
}
|
||||
|
||||
/* transition to DEAD if t_alive times out */
|
||||
[] Tns_alive.timeout {
|
||||
[Tns_alive.running] Tns_alive.timeout {
|
||||
log("Tns-alive expired: changing to DEAD_BLOCKED + starting Tns-test");
|
||||
f_change_state(NSVC_S_DEAD_BLOCKED);
|
||||
Tns_test.start;
|
||||
}
|
||||
|
||||
[] Tns_test.timeout {
|
||||
[Tns_test.running] Tns_test.timeout {
|
||||
log("Tns-test expired: sending NS-ALIVE");
|
||||
f_sendAlive();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue