Merge "Reduce RemoteUnfoldTransitionReceiverTest flakiness" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2b671a036c
@@ -126,7 +126,7 @@ class TestUnfoldProgressListener : UnfoldTransitionProgressProvider.TransitionPr
|
||||
}
|
||||
|
||||
fun assertLastProgress(progress: Float) {
|
||||
assertThat(progressHistory.last()).isWithin(1.0E-4F).of(progress)
|
||||
waitForCondition { progress == progressHistory.last() }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user