login: add a test for reentrancy of ArcInstanceStopped event
In this change we're adding a test that simulates the same condition that was addressed in https://crrev.com/c/2389060 i.e. we ensure that ArcInstanceStopped is not called on new instances of arc_vm_client_adapter if they're created during handling of ArcInstanceStopped event. BUG=b:164816080 TEST=components_unittests --gtest_filter='ArcVmClientAdapterTest*' TEST=revert the fix and ensure that the test fails Change-Id: Icd90da53f832d13893f20bb017fdc793e14af628 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2469813Reviewed-by:Hidehiko Abe <hidehiko@chromium.org> Reviewed-by:
Yusuke Sato <yusukes@chromium.org> Commit-Queue: Muhammad Hasan Khan <mhasank@chromium.org> Cr-Commit-Position: refs/heads/master@{#817545}
Showing
Please register or sign in to comment