add timeouts to all tests (#5875)

This commit is contained in:
Stefano Franz
2020-02-11 10:14:05 +00:00
committed by GitHub
parent 1d0918cdde
commit b23af5f0d2
485 changed files with 5655 additions and 5625 deletions

View File

@ -15,8 +15,8 @@ import java.util.concurrent.CompletableFuture.supplyAsync
class AttachmentDemoTest {
// run with a 10,000,000 bytes in-memory zip file. In practice, a slightly bigger file will be used (~10,002,000 bytes).
@Test
fun `attachment demo using a 10MB zip file`() {
@Test(timeout=300_000)
fun `attachment demo using a 10MB zip file`() {
val numOfExpectedBytes = 10_000_000
driver(DriverParameters(
portAllocation = incrementalPortAllocation(),