From 93c1a3e8c21cd5680c3236c8dc8b52bbbdf4ae6e Mon Sep 17 00:00:00 2001 From: Lukas Sembera Date: Thu, 12 Oct 2023 11:29:10 +0000 Subject: [PATCH] Additional assertion --- .../internal/SnowflakeStreamingIngestClientTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/java/net/snowflake/ingest/streaming/internal/SnowflakeStreamingIngestClientTest.java b/src/test/java/net/snowflake/ingest/streaming/internal/SnowflakeStreamingIngestClientTest.java index 6a9498b0e..1d0279805 100644 --- a/src/test/java/net/snowflake/ingest/streaming/internal/SnowflakeStreamingIngestClientTest.java +++ b/src/test/java/net/snowflake/ingest/streaming/internal/SnowflakeStreamingIngestClientTest.java @@ -885,8 +885,12 @@ public void testRegisterBlobChunkLimit() throws Exception { assertEquals(0, client.partitionBlobListForRegistrationRequest(new ArrayList<>()).size()); assertEquals( 1, client.partitionBlobListForRegistrationRequest(createTestBlobMetadata(99)).size()); + assertEquals( + 1, client.partitionBlobListForRegistrationRequest(createTestBlobMetadata(100)).size()); assertEquals( 2, client.partitionBlobListForRegistrationRequest(createTestBlobMetadata(101)).size()); + assertEquals( + 2, client.partitionBlobListForRegistrationRequest(createTestBlobMetadata(200)).size()); assertEquals( 2, client.partitionBlobListForRegistrationRequest(createTestBlobMetadata(99, 2)).size()); assertEquals(