Moved "TODO:fix me" comment as per Shams request.

This commit is contained in:
josecoll 2017-12-12 15:19:02 +00:00
parent 2c57165002
commit fe2b76ffd5
2 changed files with 3 additions and 3 deletions

View File

@ -44,6 +44,7 @@ class DoormanIntegrationTest {
@JvmField @JvmField
val testSerialization = SerializationEnvironmentRule(true) val testSerialization = SerializationEnvironmentRule(true)
// TODO: fix me (see commented out code in this test)
@Ignore @Ignore
@Test @Test
fun `initial registration`() { fun `initial registration`() {
@ -61,7 +62,6 @@ class DoormanIntegrationTest {
whenever(it.compatibilityZoneURL).thenReturn(URL("http://${doormanHostAndPort.host}:${doormanHostAndPort.port}")) whenever(it.compatibilityZoneURL).thenReturn(URL("http://${doormanHostAndPort.host}:${doormanHostAndPort.port}"))
whenever(it.emailAddress).thenReturn("iTest@R3.com") whenever(it.emailAddress).thenReturn("iTest@R3.com")
} }
// TODO: fix me
// config.rootCaCertFile.parent.createDirectories() // config.rootCaCertFile.parent.createDirectories()
// X509Utilities.saveCertificateAsPEMFile(rootCertAndKey.certificate.toX509Certificate(), config.rootCaCertFile) // X509Utilities.saveCertificateAsPEMFile(rootCertAndKey.certificate.toX509Certificate(), config.rootCaCertFile)
@ -95,6 +95,7 @@ class DoormanIntegrationTest {
doorman.close() doorman.close()
} }
// TODO: fix me (see commented out code in this test)
@Ignore @Ignore
@Test @Test
fun `nodeInfo is published to the network map`() { fun `nodeInfo is published to the network map`() {
@ -113,7 +114,6 @@ class DoormanIntegrationTest {
whenever(it.compatibilityZoneURL).thenReturn(URL("http://${doormanHostAndPort.host}:${doormanHostAndPort.port}")) whenever(it.compatibilityZoneURL).thenReturn(URL("http://${doormanHostAndPort.host}:${doormanHostAndPort.port}"))
whenever(it.emailAddress).thenReturn("iTest@R3.com") whenever(it.emailAddress).thenReturn("iTest@R3.com")
} }
// TODO: fix me
// config.rootCaCertFile.parent.createDirectories() // config.rootCaCertFile.parent.createDirectories()
// X509Utilities.saveCertificateAsPEMFile(rootCertAndKey.certificate.toX509Certificate(), config.rootCaCertFile) // X509Utilities.saveCertificateAsPEMFile(rootCertAndKey.certificate.toX509Certificate(), config.rootCaCertFile)

View File

@ -89,6 +89,7 @@ class SigningServiceIntegrationTest {
} }
} }
// TODO: fix me (see commented out code in this test)
@Ignore @Ignore
@Test @Test
fun `Signing service signs approved CSRs`() { fun `Signing service signs approved CSRs`() {
@ -127,7 +128,6 @@ class SigningServiceIntegrationTest {
// [org.hibernate.tool.schema.spi.SchemaManagementException] being thrown as the schema is missing. // [org.hibernate.tool.schema.spi.SchemaManagementException] being thrown as the schema is missing.
} }
} }
// TODO: fix me:
// config.rootCaCertFile.parent.createDirectories() // config.rootCaCertFile.parent.createDirectories()
// X509Utilities.saveCertificateAsPEMFile(rootCACert, config.rootCaCertFile) // X509Utilities.saveCertificateAsPEMFile(rootCACert, config.rootCaCertFile)
NetworkRegistrationHelper(config, HTTPNetworkRegistrationService(config.compatibilityZoneURL!!)).buildKeystore() NetworkRegistrationHelper(config, HTTPNetworkRegistrationService(config.compatibilityZoneURL!!)).buildKeystore()