Extended timeout for a VaultQuery integration test. (#199)

* A VaultQuery test involving a time window fails against Azure SQL on TC, the timeout value has been increased from 3 to 6 seconds.
* Add missing schema in Azure master db setup.
This commit is contained in:
szymonsztuka 2017-12-15 11:37:08 +00:00 committed by GitHub
parent 223737ebb8
commit 5744f3d5b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1677,7 +1677,7 @@ open class VaultQueryTests {
@Test @Test
fun `unconsumed linear heads for linearId between two timestamps for a given external id`() { fun `unconsumed linear heads for linearId between two timestamps for a given external id`() {
val start = Instant.now() val start = Instant.now()
val end = start.plus(3, ChronoUnit.SECONDS) val end = start.plus(6, ChronoUnit.SECONDS) //Enterprise: extended timeout for TC
database.transaction { database.transaction {
vaultFiller.fillWithSomeTestLinearStates(1, "TEST1") vaultFiller.fillWithSomeTestLinearStates(1, "TEST1")

View File

@ -21,7 +21,7 @@ CREATE LOGIN BobPlc_10012 WITH PASSWORD = 'yourStrong(!)Password';
CREATE LOGIN CharlieLtd WITH PASSWORD = 'yourStrong(!)Password'; CREATE LOGIN CharlieLtd WITH PASSWORD = 'yourStrong(!)Password';
CREATE LOGIN CharlieLtd_10000 WITH PASSWORD = 'yourStrong(!)Password'; CREATE LOGIN CharlieLtd_10000 WITH PASSWORD = 'yourStrong(!)Password';
CREATE LOGIN CharlieLtd_10003 WITH PASSWORD = 'yourStrong(!)Password'; CREATE LOGIN CharlieLtd_10003 WITH PASSWORD = 'yourStrong(!)Password';
CREATE LOGIN CharlieLtd WITH PASSWORD = 'yourStrong(!)Password'; CREATE LOGIN CharlieLtd_10006 WITH PASSWORD = 'yourStrong(!)Password';
CREATE LOGIN DistributedService_0 WITH PASSWORD = 'yourStrong(!)Password'; CREATE LOGIN DistributedService_0 WITH PASSWORD = 'yourStrong(!)Password';
CREATE LOGIN DistributedService_1 WITH PASSWORD = 'yourStrong(!)Password'; CREATE LOGIN DistributedService_1 WITH PASSWORD = 'yourStrong(!)Password';
CREATE LOGIN NetworkMapService WITH PASSWORD = 'yourStrong(!)Password'; CREATE LOGIN NetworkMapService WITH PASSWORD = 'yourStrong(!)Password';