Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cirque - update int/pointer casting and reset subscription counts…
… in tests. (#10771) * Fix GetConnectedDeviceSync The returned device pointer is actually an int type, which meant that the function never actually waited for a callback and was racing on the device resolve when it attempted to send commands. Test: Saw regular cirque failures after device resolve. After this change, saw a resolve wait for the callback as expected. * Fix Subscription test. The subscription itself causes a callback, which throws off the count between the number of commands and the check. The result is that the check ends, but the change thread continues on and causes weird races with the remaining tests. Resets the count right before the check and adds a thread join.
- Loading branch information