Skip to content

Commit 9b0bca9

Browse files
committed
more explicit test
1 parent 7bef039 commit 9b0bca9

File tree

1 file changed

+3
-6
lines changed
  • airbyte-cdk/java/airbyte-cdk/s3-destinations/src/test/java/io/airbyte/cdk/integrations/destination/s3/csv

1 file changed

+3
-6
lines changed

airbyte-cdk/java/airbyte-cdk/s3-destinations/src/test/java/io/airbyte/cdk/integrations/destination/s3/csv/S3CsvWriterTest.java

+3-6
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,10 @@ public void writesContentsCorrectly_when_stagingDatabaseConfig() throws IOExcept
284284
// carriage returns are required b/c RFC4180 requires it :(
285285
// Dynamically generate the timestamp because we generate in local time.
286286
assertEquals(
287-
String.format(
288-
"""
289-
f6767f7d-ce1e-45cc-92db-2ad3dfdd088e,"{""foo"":73}",%s\r
290-
2b95a13f-d54f-4370-a712-1c7bf2716190,"{""bar"":84}",%s\r
287+
"""
288+
f6767f7d-ce1e-45cc-92db-2ad3dfdd088e,"{""foo"":73}",1970-01-01T00:00:01.234Z\r
289+
2b95a13f-d54f-4370-a712-1c7bf2716190,"{""bar"":84}",1970-01-01T00:00:02.345Z\r
291290
""",
292-
Instant.ofEpochMilli(1234),
293-
Instant.ofEpochMilli(2345)),
294291
outputStreams.get(0).toString(StandardCharsets.UTF_8));
295292
}
296293

0 commit comments

Comments
 (0)