From be88381f027da759b665382e2db372bced5fd784 Mon Sep 17 00:00:00 2001 From: Oleg Date: Fri, 13 Oct 2023 17:59:10 +0400 Subject: [PATCH] Correct range for sequence in test --- .../schema/message/impl/rabbitmq/transport/ParsedMessageTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/com/exactpro/th2/common/schema/message/impl/rabbitmq/transport/ParsedMessageTest.kt b/src/test/kotlin/com/exactpro/th2/common/schema/message/impl/rabbitmq/transport/ParsedMessageTest.kt index 57d881ea..23d092e2 100644 --- a/src/test/kotlin/com/exactpro/th2/common/schema/message/impl/rabbitmq/transport/ParsedMessageTest.kt +++ b/src/test/kotlin/com/exactpro/th2/common/schema/message/impl/rabbitmq/transport/ParsedMessageTest.kt @@ -192,7 +192,7 @@ class ParsedMessageTest { private const val TEST_PROTOCOL = "test-protocol" private const val TEST_SESSION_ALIAS = "test-session-alias" private const val TEST_MESSAGE_TYPE = "test-message-type" - private val TEST_SEQUENCE = Random.nextLong(from = 0, until = Long.MAX_VALUE) + private val TEST_SEQUENCE = Random.nextLong(from = Long.MIN_VALUE + 1, until = Long.MAX_VALUE) private val TEST_SUB_SEQUENCE = listOf( Random.nextInt(from = 0, until = Int.MAX_VALUE), Random.nextInt(from = 0, until = Int.MAX_VALUE),