From 0b7fdbb35d0868f5483faa96b60f7c99b1c33b28 Mon Sep 17 00:00:00 2001 From: Tamas Veingartner Date: Mon, 3 Aug 2020 19:09:30 +0100 Subject: [PATCH] CORDA-3663 Remove dummy package names (#6553) Dummy package names cause build failure as they are not found on the classpath when trying to import them. Now that empty package name list is allowed, the dummy names are removed. --- .../corda/node/services/distributed/DistributedServiceTests.kt | 2 +- .../kotlin/net/corda/services/messaging/P2PMessagingTest.kt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/node/src/integration-test-slow/kotlin/net/corda/node/services/distributed/DistributedServiceTests.kt b/node/src/integration-test-slow/kotlin/net/corda/node/services/distributed/DistributedServiceTests.kt index ad04a89d8c..1b94177ef2 100644 --- a/node/src/integration-test-slow/kotlin/net/corda/node/services/distributed/DistributedServiceTests.kt +++ b/node/src/integration-test-slow/kotlin/net/corda/node/services/distributed/DistributedServiceTests.kt @@ -47,7 +47,7 @@ class DistributedServiceTests { invokeRpc(CordaRPCOps::stateMachinesFeed)) ) driver(DriverParameters( - cordappsForAllNodes = FINANCE_CORDAPPS + cordappWithPackages("net.corda.notary.raft"), + cordappsForAllNodes = FINANCE_CORDAPPS + cordappWithPackages(), notarySpecs = listOf(NotarySpec( DUMMY_NOTARY_NAME, rpcUsers = listOf(testUser), diff --git a/node/src/integration-test/kotlin/net/corda/services/messaging/P2PMessagingTest.kt b/node/src/integration-test/kotlin/net/corda/services/messaging/P2PMessagingTest.kt index 89fd1ca616..0b26c6b779 100644 --- a/node/src/integration-test/kotlin/net/corda/services/messaging/P2PMessagingTest.kt +++ b/node/src/integration-test/kotlin/net/corda/services/messaging/P2PMessagingTest.kt @@ -42,7 +42,6 @@ class P2PMessagingTest { private fun startDriverWithDistributedService(dsl: DriverDSL.(List) -> Unit) { driver(DriverParameters( startNodesInProcess = true, - extraCordappPackagesToScan = listOf("net.corda.notary.raft"), notarySpecs = listOf(NotarySpec(DISTRIBUTED_SERVICE_NAME, cluster = ClusterSpec.Raft(clusterSize = 2))) )) { dsl(defaultNotaryHandle.nodeHandles.getOrThrow().map { (it as InProcess) })