Skip to content

Commit 3ccacc6

Browse files
committed
Run tests in the order of their IDs
1 parent 8b04234 commit 3ccacc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mediacontroller/src/main/java/com/example/android/mediacontroller/testing/MediaAppTestSuite.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Array) {
113113
Looper.prepare()
114114
try {
115115
for(i in 0 until numIter) {
116-
for (test in testList) {
116+
for (test in testList.sortedBy { it.id }) {
117117
resetSingleResults()
118118
onStartTest()
119119

0 commit comments

Comments
 (0)