mirror of
https://github.com/corda/corda.git
synced 2025-05-09 20:12:56 +00:00
remove temporary code, reorder lines
This commit is contained in:
parent
1a616b1063
commit
b19dac02c4
@ -61,15 +61,15 @@ import kotlin.test.assertTrue
|
|||||||
|
|
||||||
class BFTNotaryServiceTests {
|
class BFTNotaryServiceTests {
|
||||||
companion object {
|
companion object {
|
||||||
private lateinit var mockNet: InternalMockNetwork
|
|
||||||
private lateinit var notary: Party
|
|
||||||
private lateinit var node: StartedNode<MockNode>
|
|
||||||
|
|
||||||
@ClassRule
|
@ClassRule
|
||||||
@JvmField
|
@JvmField
|
||||||
val databaseSchemas = IntegrationTestSchemas("node_0", "node_1", "node_2", "node_3", "node_4", "node_5",
|
val databaseSchemas = IntegrationTestSchemas("node_0", "node_1", "node_2", "node_3", "node_4", "node_5",
|
||||||
"node_6", "node_7", "node_8", "node_9")
|
"node_6", "node_7", "node_8", "node_9")
|
||||||
|
|
||||||
|
private lateinit var mockNet: InternalMockNetwork
|
||||||
|
private lateinit var notary: Party
|
||||||
|
private lateinit var node: StartedNode<MockNode>
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun before() {
|
fun before() {
|
||||||
@ -126,8 +126,6 @@ class BFTNotaryServiceTests {
|
|||||||
val issueTx = signInitialTransaction(notary) {
|
val issueTx = signInitialTransaction(notary) {
|
||||||
addOutputState(DummyContract.SingleOwnerState(owner = info.singleIdentity()), DummyContract.PROGRAM_ID, AlwaysAcceptAttachmentConstraint)
|
addOutputState(DummyContract.SingleOwnerState(owner = info.singleIdentity()), DummyContract.PROGRAM_ID, AlwaysAcceptAttachmentConstraint)
|
||||||
}
|
}
|
||||||
//val latch = CountDownLatch(1)
|
|
||||||
//latch.await()
|
|
||||||
database.transaction {
|
database.transaction {
|
||||||
services.recordTransactions(issueTx)
|
services.recordTransactions(issueTx)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user