mirror of
https://github.com/corda/corda.git
synced 2024-12-25 07:31:10 +00:00
CORDA-1976 - Fix flaky test (#3935)
This commit is contained in:
parent
eac9d1b93c
commit
50d3f7b474
@ -36,6 +36,9 @@ class FailNodeOnNotMigratedAttachmentContractsTableNameTests {
|
||||
val user = User("mark", "dadada", setOf(Permissions.startFlow<SendMessageFlow>(), Permissions.invokeRpc("vaultQuery")))
|
||||
val message = Message("Hello world!")
|
||||
val baseDir: Path = driver(DriverParameters(startNodesInProcess = true, portAllocation = RandomFree, extraCordappPackagesToScan = listOf(MessageState::class.packageName))) {
|
||||
// Just start a node to make this test less flaky.
|
||||
startNode(rpcUsers = listOf(user)).getOrThrow()
|
||||
|
||||
val (nodeName, baseDir) = {
|
||||
defaultNotaryNode.getOrThrow()
|
||||
val nodeHandle = startNode(rpcUsers = listOf(user)).getOrThrow()
|
||||
|
Loading…
Reference in New Issue
Block a user