-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DnsRecordResolverTest
: Use seeded random number generator for deterministic test result
#1306
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds logical to me
app/src/androidTest/kotlin/at/bitfire/davdroid/network/DnsRecordResolverTest.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice :)
DnsRecordResolverTest
: Use seeded random number generator for deterministic test result
I have added |
Purpose
The test
testBestSRVRecord_MultipleRecords_Priority_Same
fails in rare occasions.Short description
Use a seeded random number generator for 100% deterministic results.
Checklist