log("**** f_serverSyncClientsTimed: Sync server received READY signal from a client - server will wait for all clients to reach this synchronization point ****");
log("**** f_serverSyncClientsTimed: Sync server received client sync message with incorrect synchronization point id which is currently not handled - server will stop all clients! ****");
* @desc This function combines MTC verdict setting with self
* synchronization for use after the test body.
...
...
@@ -1317,29 +1318,29 @@ module LibCommon_Sync {
alt{
[]syncPort.receive{
// clients may still try to send some sync message
}
}
[]allcomponent.done{
tc_shutDown.stop;
log("**** f_serverWaitForAllClientsToShutDown: All components have properly shut down. Sync server will now terminate the test case. ****");
}
}
[]tc_shutDown.timeout{
log("**** f_serverWaitForAllClientsToShutDown: Not all clients have properly shutdown within the shut down time limit. Sync server will now terminate test case! ****");
}
}
}// end alt
// cover case that shut down default is NOT activated
setverdict(inconc);
//mtc.stop;
syncPort.send(m_syncServerStop)toself;// this MUST be _server_ for the default to catch!
tc_sync.start(PX_TSYNC_TIME_LIMIT);
alt{
[]tc_sync.timeout{
log("**** f_selfSyncStop: Stopping MTC without shutdown - either no shutdown default active or missing syncPort connection ****");
setverdict(inconc);
stop;
}
}//end alt
tc_sync.stop;
stop;// if shutdown default is not activated or if it does not stop
//mtc.stop;
syncPort.send(m_syncServerStop)toself;// this MUST be _server_ for the default to catch!
tc_sync.start(PX_TSYNC_TIME_LIMIT);
alt{
[]tc_sync.timeout{
log("**** f_selfSyncStop: Stopping MTC without shutdown - either no shutdown default active or missing syncPort connection ****");
setverdict(inconc);
stop;
}
}//end alt
tc_sync.stop;
stop;// if shutdown default is not activated or if it does not stop
}// end function f_serverWaitForAllClientsToShutDown