Attention is currently required from: jolly.
2 comments:
Patchset:
File bts/BTS_Tests_ASCI.ttcn:
RSL_CCHAN.send(ts_ASP_RSL_UD(ts_RSL_NOTIF_CMD_STOP(gcr)));
/* NCH must not be received. */
there is a potential race condition here between the last L1CTL.receive above, and the time you send the NOTIF_CMD_STOP. Another NCH message might be stored in any of the buffers of osmo-bts, the kernel, trxcon, or a TITAN component, and then magically appear below when you no longer expect them.
This is the kind of race condition which makes tests fail occasionally and reuslts in ustable test results in jenkins.
If there is no confirmation message to the CMD_STOP from the BTS you cannot make assumptions when it will actually arrive and execute.
Hence, as a work-around it might be prudent to wait for somehing like 0.5s and then flush any pending L1CTL messages before executing the below code.
There might be other solutions, just think about the problem in general and see what you can come up with.
To view, visit change 33816. To unsubscribe, or for help writing mail filters, visit settings.