diff --git a/airbyte-cdk/java/airbyte-cdk/s3-destinations/src/test/java/io/airbyte/cdk/integrations/destination/s3/csv/S3CsvWriterTest.java b/airbyte-cdk/java/airbyte-cdk/s3-destinations/src/test/java/io/airbyte/cdk/integrations/destination/s3/csv/S3CsvWriterTest.java index bee325234d2c..7cf8195d5baa 100644 --- a/airbyte-cdk/java/airbyte-cdk/s3-destinations/src/test/java/io/airbyte/cdk/integrations/destination/s3/csv/S3CsvWriterTest.java +++ b/airbyte-cdk/java/airbyte-cdk/s3-destinations/src/test/java/io/airbyte/cdk/integrations/destination/s3/csv/S3CsvWriterTest.java @@ -284,13 +284,10 @@ public void writesContentsCorrectly_when_stagingDatabaseConfig() throws IOExcept // carriage returns are required b/c RFC4180 requires it :( // Dynamically generate the timestamp because we generate in local time. assertEquals( - String.format( - """ - f6767f7d-ce1e-45cc-92db-2ad3dfdd088e,"{""foo"":73}",%s\r - 2b95a13f-d54f-4370-a712-1c7bf2716190,"{""bar"":84}",%s\r + """ + f6767f7d-ce1e-45cc-92db-2ad3dfdd088e,"{""foo"":73}",1970-01-01T00:00:01.234Z\r + 2b95a13f-d54f-4370-a712-1c7bf2716190,"{""bar"":84}",1970-01-01T00:00:02.345Z\r """, - Instant.ofEpochMilli(1234), - Instant.ofEpochMilli(2345)), outputStreams.get(0).toString(StandardCharsets.UTF_8)); }