From 00f2ed05b829b4bf885ca1e9d5be289c60ec3923 Mon Sep 17 00:00:00 2001 From: Dawid Heyman Date: Tue, 23 Jul 2024 12:27:58 +0200 Subject: [PATCH] Fix qrmk --- .../client/jdbc/SnowflakeSerializableTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/java/net/snowflake/client/jdbc/SnowflakeSerializableTest.java b/src/test/java/net/snowflake/client/jdbc/SnowflakeSerializableTest.java index d5ef2974c..3fe6d6c05 100644 --- a/src/test/java/net/snowflake/client/jdbc/SnowflakeSerializableTest.java +++ b/src/test/java/net/snowflake/client/jdbc/SnowflakeSerializableTest.java @@ -58,7 +58,7 @@ public class SnowflakeSerializableTest { + " \"1\"\n" + " ]\n" + " ],\n" - + " \"qrmk\": \"TaQAof44L361XkkKyYhiF81aC0wT0IU+NN8QtobPWCk=\",\n" + + " \"qrmk\": \"ADCDEFGHIJdwadawYhiF81aC0wT0IU+NN8QtobPWCk=\",\n" + " \"chunkHeaders\": {\n" + " \"x-amz-server-side-encryption-customer-key-md5\": \"A2dDf2ff7HI8OCdsR3pK82g==\"\n" + " },\n" @@ -136,7 +136,7 @@ public class SnowflakeSerializableTest { + " \"1\"\n" + " ]\n" + " ],\n" - + " \"qrmk\": \"TaQAof44L361XkkKyYhiF81aC0wT0IU+NN8QtobPWCk=\",\n" + + " \"qrmk\": \"ADCDEFGHIJdwadawYhiF81aC0wT0IU+NN8QtobPWCk=\",\n" + " \"chunkHeaders\": {\n" + " \"x-amz-server-side-encryption-customer-key-md5\": \"A2dDf2ff7HI8OCdsR3pK82g==\"\n" + " },\n" @@ -214,7 +214,7 @@ public class SnowflakeSerializableTest { + " ]\n" + "\n" + " ],\n" - + " \"qrmk\": \"GHaQAofAD234D361XkkKyYhiF81aC0wT0IU+NN8QtobPWCk=\",\n" + + " \"qrmk\": \"ZXYADCDEFGHIJdwadawYhiF81aC0wT0IU+NN8QtobPWCk=\",\n" + " \"chunkHeaders\": {\n" + " \"x-amz-server-side-encryption-customer-key-md5\": \"f342lkkftyf7HI8OCdsR3pK82g==\"\n" + " },\n" @@ -291,7 +291,7 @@ private void assertRegularResultSetSerializable( } }, s.getParameters()); - assertEquals("TaQAof44L361XkkKyYhiF81aC0wT0IU+NN8QtobPWCk=", s.getQrmk()); + assertEquals("ADCDEFGHIJdwadawYhiF81aC0wT0IU+NN8QtobPWCk=", s.getQrmk()); assertFalse(s.isArrayBindSupported()); assertEquals(1, s.getResultVersion()); @@ -363,7 +363,7 @@ private void assertRichResultSetSerializable(SnowflakeRichResultSetSerializableV assertEquals( "[[\"value1_lower\",\"value1_upper\"],[\"value2_lower\",\"value2_upper\"]]", s.getRichResultsFirstChunkStringData()); - assertEquals("GHaQAofAD234D361XkkKyYhiF81aC0wT0IU+NN8QtobPWCk=", s.getRichResultsQrmk()); + assertEquals("ZXYADCDEFGHIJdwadawYhiF81aC0wT0IU+NN8QtobPWCk=", s.getRichResultsQrmk()); assertEquals(1, s.getRichResultsChunkHeadersMap().size()); assertEquals( "f342lkkftyf7HI8OCdsR3pK82g==",