From bed1f28b30478c6ffd10cf7df6c510aca2a0c6af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Tue, 14 Jul 2020 16:41:05 +0200 Subject: [PATCH] Give more time to SQLCipher4 Travis tests --- Tests/GRDBTests/DatabaseWriterTests.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/GRDBTests/DatabaseWriterTests.swift b/Tests/GRDBTests/DatabaseWriterTests.swift index 65f307846..117b965a6 100644 --- a/Tests/GRDBTests/DatabaseWriterTests.swift +++ b/Tests/GRDBTests/DatabaseWriterTests.swift @@ -55,7 +55,7 @@ class DatabaseWriterTests : GRDBTestCase { } semaphore.signal() - waitForExpectations(timeout: 1, handler: nil) + waitForExpectations(timeout: 2, handler: nil) let tableExists = try dbWriter.read { try $0.tableExists("testAsyncWriteWithoutTransaction") } XCTAssertTrue(tableExists) } @@ -82,7 +82,7 @@ class DatabaseWriterTests : GRDBTestCase { expectation.fulfill() } semaphore.signal() - waitForExpectations(timeout: 1, handler: nil) + waitForExpectations(timeout: 2, handler: nil) } try test(makeDatabaseQueue()) @@ -109,7 +109,7 @@ class DatabaseWriterTests : GRDBTestCase { }) semaphore.signal() - waitForExpectations(timeout: 1, handler: nil) + waitForExpectations(timeout: 2, handler: nil) let tableExists = try dbWriter.read { try $0.tableExists("testAsyncWrite") } XCTAssertTrue(tableExists) } @@ -141,7 +141,7 @@ class DatabaseWriterTests : GRDBTestCase { expectation.fulfill() }) semaphore.signal() - waitForExpectations(timeout: 1, handler: nil) + waitForExpectations(timeout: 2, handler: nil) } try test(makeDatabaseQueue())