Don't stop the node inside the unit test

The test node had not been started and is causing tests to fail.
This commit is contained in:
Joseph Zuniga-Daly 2020-03-09 17:17:36 +00:00
parent dcf659e643
commit a18c544de1

View File

@ -47,8 +47,7 @@ class QuasarExcludePackagesTest {
val nodeConfiguration :NodeConfiguration = V1NodeConfigurationSpec.parse(config).value()
// Act
val node = Node(nodeConfiguration, VersionInfo.UNKNOWN)
node.stop()
Node(nodeConfiguration, VersionInfo.UNKNOWN)
// Assert
Assert.assertTrue(Retransform.getInstrumentor().isExcluded("net.corda.node.internal.QuasarExcludePackagesTest.Test"))