Moved timeout control from the tests to the CI pipeline
How fast a tests is executed on a shared CI pipeline is not predictable as the build might be throttled because other builds are running. Therefore adding extremely short timeouts inside the tests - where they can't be changed - is a bad idea. Removed them for now.
This commit is contained in:
parent
3c21be8fa5
commit
a6515d5450
3 changed files with 1 additions and 6 deletions
|
|
@ -25,9 +25,6 @@ class HistoryRecordManagerTest {
|
|||
@get:Rule
|
||||
val trampolineScheduler = TrampolineSchedulerRule()
|
||||
|
||||
@get:Rule
|
||||
val timeout = Timeout(1, TimeUnit.SECONDS)
|
||||
|
||||
@Before
|
||||
fun setup() {
|
||||
database = TestDatabase.createReplacingNewPipeDatabase()
|
||||
|
|
|
|||
|
|
@ -20,9 +20,6 @@ class LocalPlaylistManagerTest {
|
|||
@get:Rule
|
||||
val trampolineScheduler = TrampolineSchedulerRule()
|
||||
|
||||
@get:Rule
|
||||
val timeout = Timeout(1, TimeUnit.SECONDS)
|
||||
|
||||
@Before
|
||||
fun setup() {
|
||||
database = TestDatabase.createReplacingNewPipeDatabase()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue