Skip to content

Commit

Permalink
Trying to see if retry rule is used with parameterized tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin committed Mar 19, 2024
1 parent cb283ff commit 65e04ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class RetryTestRule(val retryCount: Int = 3) : TestRule {
}

Log.e(TAG, description.displayName + ": giving up after " + retryCount + " failures")
throw caughtThrowable!!
throw AssertionError("Test failed 3 times: ", caughtThrowable)
}
}
}
Expand Down

0 comments on commit 65e04ac

Please sign in to comment.