mirror of
https://github.com/corda/corda.git
synced 2025-06-23 17:53:31 +00:00
add timeouts to all tests (#5875)
This commit is contained in:
@ -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(),
|
||||
|
Reference in New Issue
Block a user