mirror of
https://github.com/corda/corda.git
synced 2025-06-11 20:01:46 +00:00
Fix tests using blocked vulnerable methods
This commit is contained in:
@ -40,7 +40,7 @@ class CordaServiceIssueOnceAtStartupTests {
|
|||||||
private val armedPropName = this::class.java.enclosingClass.name + "-armed"
|
private val armedPropName = this::class.java.enclosingClass.name + "-armed"
|
||||||
private val logger = contextLogger()
|
private val logger = contextLogger()
|
||||||
private val tempFilePropertyName = this::class.java.enclosingClass.name + "-tmpFile"
|
private val tempFilePropertyName = this::class.java.enclosingClass.name + "-tmpFile"
|
||||||
private val tmpFile = createTempFile(prefix = tempFilePropertyName)
|
private val tmpFile = File.createTempFile(tempFilePropertyName, null)
|
||||||
private const val vaultQueryExecutedMarker = "VaultQueryExecuted"
|
private const val vaultQueryExecutedMarker = "VaultQueryExecuted"
|
||||||
private const val sentFlowMarker = "SentFlow"
|
private const val sentFlowMarker = "SentFlow"
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ class CordaServiceLifecycleFatalTests {
|
|||||||
|
|
||||||
// Temporaty file used as a latch between two processes
|
// Temporaty file used as a latch between two processes
|
||||||
private val tempFilePropertyName = this::class.java.enclosingClass.name + "-tmpFile"
|
private val tempFilePropertyName = this::class.java.enclosingClass.name + "-tmpFile"
|
||||||
private val tmpFile = createTempFile(prefix = tempFilePropertyName)
|
private val tmpFile = File.createTempFile(tempFilePropertyName, null)
|
||||||
private const val readyToThrowMarker = "ReadyToThrow"
|
private const val readyToThrowMarker = "ReadyToThrow"
|
||||||
private const val goodToThrowMarker = "GoodToThrow"
|
private const val goodToThrowMarker = "GoodToThrow"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user