commit | c87d81f916aebc9580efc338da488cc3572a39da | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Sun Oct 11 18:17:25 2020 +0200 |
committer | laforge <laforge@osmocom.org> | Mon Oct 12 13:13:04 2020 +0000 |
tree | 0a4a9595c897e645d6395fd87a6ef04ff33d2bf3 | |
parent | c935fad594822c63e390ce168b56db0148485885 [diff] |
bts: Avoid race condition in TC_pcu_deact_req When our emulated PCU sends a DEACT.req to the BTS, there is no way of knowing when exactly that command will have been completed: There is no confirmation sent in response. Let's introduce a f_sleep(1.0) to give the BTS sufficient time for deactivating the channel. This will make TC_pcu_deact_req pass reliably. It currently fails in about one third of all test executions on jenkins. Change-Id: Id9a559b8b208a60f71c3eb9a23830e4d2dbc5df9