ENT-11522: Unignored flow tests and updated artemis mq filter to check for null property. (#7679)

This commit is contained in:
Adel El-Beik 2024-03-04 12:25:37 +00:00 committed by GitHub
parent 4031c28947
commit 6dfbed572e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 1 additions and 9 deletions

View File

@ -26,12 +26,10 @@ import net.corda.testing.driver.driver
import net.corda.testing.node.User
import net.corda.testing.node.internal.enclosedCordapp
import org.assertj.core.api.Assertions.assertThatThrownBy
import org.junit.Ignore
import org.junit.Test
import java.sql.SQLTransientConnectionException
import kotlin.test.assertEquals
@Ignore("TODO JDK17: Fixme")
class FlowSessionCloseTest {
private val user = User("user", "pwd", setOf(Permissions.all()))

View File

@ -38,7 +38,6 @@ import net.corda.testing.node.internal.enclosedCordapp
import org.assertj.core.api.Assertions
import org.assertj.core.api.Assertions.assertThatExceptionOfType
import org.junit.Before
import org.junit.Ignore
import org.junit.Test
import rx.Observable
import java.time.Duration
@ -55,7 +54,6 @@ import kotlin.test.assertNotEquals
import kotlin.test.assertNull
import kotlin.test.assertTrue
@Ignore("TODO JDK17: Fixme")
class FlowWithClientIdTest {
@Before

View File

@ -29,7 +29,6 @@ import net.corda.testing.node.User
import org.assertj.core.api.Assertions.assertThat
import org.junit.After
import org.junit.Before
import org.junit.Ignore
import org.junit.Test
import java.util.concurrent.Executors
import java.util.concurrent.ScheduledExecutorService
@ -52,7 +51,6 @@ class FlowsDrainingModeContentionTest {
}
@Test(timeout=300_000)
@Ignore("TODO JDK17:Fixme - timed out")
fun `draining mode does not deadlock with acks between 2 nodes`() {
val message = "Ground control to Major Tom"
driver(DriverParameters(

View File

@ -23,7 +23,6 @@ import net.corda.testing.node.internal.waitForShutdown
import org.assertj.core.api.AssertionsForInterfaceTypes.assertThat
import org.junit.After
import org.junit.Before
import org.junit.Ignore
import org.junit.Test
import java.util.concurrent.CountDownLatch
import java.util.concurrent.Executors
@ -86,7 +85,6 @@ class P2PFlowsDrainingModeTest {
}
@Test(timeout=300_000)
@Ignore("TODO JDK17:Fixme - timed out")
fun `terminate node waiting for pending flows`() {
driver(DriverParameters(portAllocation = portAllocation, notarySpecs = emptyList())) {

View File

@ -660,7 +660,7 @@ private class P2PMessagingConsumer(
private val metricsRegistry : MetricRegistry) : LifecycleSupport {
private companion object {
private const val initialSessionMessages = "${P2PMessagingHeaders.Type.KEY}<>'${P2PMessagingHeaders.Type.SESSION_INIT_VALUE}'"
private const val initialSessionMessages = "${P2PMessagingHeaders.Type.KEY} is null or ${P2PMessagingHeaders.Type.KEY}<>'${P2PMessagingHeaders.Type.SESSION_INIT_VALUE}'"
private val logger by lazy { loggerFor<P2PMessagingClient>() }
}