Add testdbCaWaitForUpdateCount() to wait for CA link data event counter. dbCaSync() actually wait for work queue to be empty