mirror of
https://github.com/corda/corda.git
synced 2025-06-06 01:11:45 +00:00
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:
parent
dcf659e643
commit
a18c544de1
@ -47,8 +47,7 @@ class QuasarExcludePackagesTest {
|
|||||||
val nodeConfiguration :NodeConfiguration = V1NodeConfigurationSpec.parse(config).value()
|
val nodeConfiguration :NodeConfiguration = V1NodeConfigurationSpec.parse(config).value()
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
val node = Node(nodeConfiguration, VersionInfo.UNKNOWN)
|
Node(nodeConfiguration, VersionInfo.UNKNOWN)
|
||||||
node.stop()
|
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
Assert.assertTrue(Retransform.getInstrumentor().isExcluded("net.corda.node.internal.QuasarExcludePackagesTest.Test"))
|
Assert.assertTrue(Retransform.getInstrumentor().isExcluded("net.corda.node.internal.QuasarExcludePackagesTest.Test"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user