I have a unit test that should run for multiple mi...
# testballoon
n
I have a unit test that should run for multiple minutes, but now I get "After waiting for 1m, the test body did not run to completion" and the unit test is aborted. How can I extend the duration?
o
A 1-minute timeout is the default, in alignment with kotlinx.coroutines. To extend the duration for tests, say, to 10 minutes, use
Copy code
testConfig = TestConfig.testScope(true, 10.minutes)
as a parameter of a single test, or a test suite at any level of the test element hierarchy.