Fix flaky JUnit test
This test sometimes fails in PostSubmits because the background thread which calls the verified class does not have time to execute before the class is verified. This creates a helper function to monitor background thread completion. Test: atest -c AutoSelectPreferenceControllerTest Change-Id: I6c320abd70fcb5fe823ec122fb0dac67174ecb4a
Loading
Please register or sign in to comment