mirror of
https://github.com/corda/corda.git
synced 2025-04-14 22:46:57 +00:00
Fix tests using blocked vulnerable methods
This commit is contained in:
parent
781aa892de
commit
f5ed60caa6
@ -40,7 +40,7 @@ class CordaServiceIssueOnceAtStartupTests {
|
||||
private val armedPropName = this::class.java.enclosingClass.name + "-armed"
|
||||
private val logger = contextLogger()
|
||||
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 sentFlowMarker = "SentFlow"
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ class CordaServiceLifecycleFatalTests {
|
||||
|
||||
// Temporaty file used as a latch between two processes
|
||||
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 goodToThrowMarker = "GoodToThrow"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user