mirror of
https://github.com/corda/corda.git
synced 2025-02-21 01:42:24 +00:00
ENT-11676: Remove logging from debugging session (#7723)
* Remove logging from debugging session Debugging logging statements leftover from https://github.com/corda/corda/pull/7704.
This commit is contained in:
parent
691f84d46e
commit
2b3c85a468
@ -1,6 +1,5 @@
|
||||
package net.corda.testing.node.internal
|
||||
|
||||
import net.corda.core.internal.JarSignatureCollector
|
||||
import net.corda.core.internal.deleteRecursively
|
||||
import net.corda.testing.core.internal.JarSignatureTestUtils.containsKey
|
||||
import net.corda.testing.core.internal.JarSignatureTestUtils.generateKey
|
||||
@ -8,10 +7,8 @@ import net.corda.testing.core.internal.JarSignatureTestUtils.signJar
|
||||
import net.corda.testing.core.internal.JarSignatureTestUtils.unsignJar
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.Path
|
||||
import java.util.jar.JarInputStream
|
||||
import kotlin.io.path.absolutePathString
|
||||
import kotlin.io.path.copyTo
|
||||
import kotlin.io.path.inputStream
|
||||
import kotlin.io.path.name
|
||||
|
||||
object TestCordappSigner {
|
||||
@ -34,7 +31,6 @@ object TestCordappSigner {
|
||||
jar.unsignJar()
|
||||
val signerDirToUse = signerDir ?: defaultSignerDir
|
||||
for (i in 1 .. signatureCount) {
|
||||
println("On signer $i")
|
||||
// Note in the jarsigner tool if -sigfile is not specified then the first 8 chars of alias are used as the file
|
||||
// name for the .SF and .DSA files. (See jarsigner doc). So $i below needs to be at beginning so unique files are
|
||||
// created.
|
||||
@ -44,7 +40,6 @@ object TestCordappSigner {
|
||||
signerDirToUse.generateKey(alias, password, "O=Test Company Ltd $i,OU=Test,L=London,C=GB", algorithm)
|
||||
}
|
||||
signerDirToUse.signJar(jar.absolutePathString(), alias, password)
|
||||
println("Number of actual signers: ${JarInputStream(jar.inputStream()).use { JarSignatureCollector.collectSigners(it).size }}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user