mirror of
https://github.com/corda/corda.git
synced 2025-06-22 17:09:00 +00:00
Update integration test setup in database mode after OS->ENT merge (#732)
Added Notary schema for SQL setup to tests. Added SQL setup/tearDown to a loop starting the same node few times in DriverTests.
This commit is contained in:
@ -13,6 +13,7 @@ package net.corda.webserver
|
||||
import net.corda.core.utilities.NetworkHostAndPort
|
||||
import net.corda.core.utilities.getOrThrow
|
||||
import net.corda.testing.core.DUMMY_BANK_A_NAME
|
||||
import net.corda.testing.core.DUMMY_NOTARY_NAME
|
||||
import net.corda.testing.internal.IntegrationTest
|
||||
import net.corda.testing.internal.IntegrationTestSchemas
|
||||
import net.corda.testing.driver.WebserverHandle
|
||||
@ -39,7 +40,7 @@ class WebserverDriverTests : IntegrationTest() {
|
||||
|
||||
@ClassRule
|
||||
@JvmField
|
||||
val databaseSchemas = IntegrationTestSchemas(DUMMY_BANK_A_NAME.toDatabaseSchemaName())
|
||||
val databaseSchemas = IntegrationTestSchemas(DUMMY_BANK_A_NAME.toDatabaseSchemaName(), DUMMY_NOTARY_NAME.toDatabaseSchemaName())
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user