mirror of
https://github.com/corda/corda.git
synced 2024-12-20 05:28:21 +00:00
ENT-11502: Upgrade platform version to 140. (#7674)
This commit is contained in:
parent
dea3e0a574
commit
4031c28947
@ -110,11 +110,11 @@ class CordaRPCClientReconnectionTest {
|
|||||||
|
|
||||||
assertThatThrownBy {
|
assertThatThrownBy {
|
||||||
val node = startNode ()
|
val node = startNode ()
|
||||||
val client = CordaRPCClient(node.rpcAddress, config.copy(minimumServerProtocolVersion = 100, maxReconnectAttempts = 1))
|
val client = CordaRPCClient(node.rpcAddress, config.copy(minimumServerProtocolVersion = 999, maxReconnectAttempts = 1))
|
||||||
client.start(rpcUser.username, rpcUser.password, gracefulReconnect = gracefulReconnect)
|
client.start(rpcUser.username, rpcUser.password, gracefulReconnect = gracefulReconnect)
|
||||||
}
|
}
|
||||||
.isInstanceOf(UnrecoverableRPCException::class.java)
|
.isInstanceOf(UnrecoverableRPCException::class.java)
|
||||||
.hasMessageStartingWith("Requested minimum protocol version (100) is higher than the server's supported protocol version ")
|
.hasMessageStartingWith("Requested minimum protocol version (999) is higher than the server's supported protocol version ")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ internalPublishVersion=1.+
|
|||||||
# When incrementing platformVersion make sure to update #
|
# When incrementing platformVersion make sure to update #
|
||||||
# net.corda.core.internal.CordaUtilsKt.PLATFORM_VERSION as well. #
|
# net.corda.core.internal.CordaUtilsKt.PLATFORM_VERSION as well. #
|
||||||
# ***************************************************************#
|
# ***************************************************************#
|
||||||
platformVersion=14
|
platformVersion=140
|
||||||
openTelemetryVersion=1.20.1
|
openTelemetryVersion=1.20.1
|
||||||
openTelemetrySemConvVersion=1.20.1-alpha
|
openTelemetrySemConvVersion=1.20.1-alpha
|
||||||
guavaVersion=28.0-jre
|
guavaVersion=28.0-jre
|
||||||
|
@ -20,7 +20,7 @@ import java.security.PublicKey
|
|||||||
|
|
||||||
|
|
||||||
// When incrementing platformVersion make sure to update PLATFORM_VERSION in constants.properties as well.
|
// When incrementing platformVersion make sure to update PLATFORM_VERSION in constants.properties as well.
|
||||||
const val PLATFORM_VERSION = 14
|
const val PLATFORM_VERSION = 140
|
||||||
|
|
||||||
fun ServicesForResolution.ensureMinimumPlatformVersion(requiredMinPlatformVersion: Int, feature: String) {
|
fun ServicesForResolution.ensureMinimumPlatformVersion(requiredMinPlatformVersion: Int, feature: String) {
|
||||||
checkMinimumPlatformVersion(networkParameters.minimumPlatformVersion, requiredMinPlatformVersion, feature)
|
checkMinimumPlatformVersion(networkParameters.minimumPlatformVersion, requiredMinPlatformVersion, feature)
|
||||||
|
@ -15,7 +15,7 @@ import org.assertj.core.api.Assertions
|
|||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
import java.time.Duration
|
import java.time.Duration
|
||||||
|
|
||||||
class DuplicateSerializerLogWithSameSerializerTest {
|
class DuplSerializerLogWithSameSerializerTest {
|
||||||
@Test(timeout=300_000)
|
@Test(timeout=300_000)
|
||||||
fun `check duplicate serialisers are logged not logged for the same class`() {
|
fun `check duplicate serialisers are logged not logged for the same class`() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user