Skip to content

Commit

Permalink
Merge pull request #919 from MarathonLabs/fix/remote-test-parser-test…
Browse files Browse the repository at this point in the history
…-suite

fix(android): deduplicate tests for remote test parser
  • Loading branch information
Malinskiy authored Apr 12, 2024
2 parents a4c6578 + 1242f31 commit 05f5762
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class AmInstrumentTestParser(
val channel = device.executeTestRequest(runnerRequest)
var observedAnnotations = false

val tests = mutableListOf<Test>()
val tests = mutableSetOf<Test>()
while (!channel.isClosedForReceive && isActive) {
val events: List<TestEvent>? = withTimeoutOrNull(configuration.testOutputTimeoutMillis) {
channel.receiveCatching().getOrNull() ?: emptyList()
Expand Down

0 comments on commit 05f5762

Please sign in to comment.