From a46b1fc488ef6ee0f032a459d2011fb01d817596 Mon Sep 17 00:00:00 2001 From: Ruslan Altynnikov <6768954+rulle-io@users.noreply.github.com> Date: Sun, 27 Aug 2023 18:15:40 +0200 Subject: [PATCH] Update dbeam-core/src/test/java/com/spotify/dbeam/jobs/JdbcAvroJobTest.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Luís Bianchin --- .../src/test/java/com/spotify/dbeam/jobs/JdbcAvroJobTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbeam-core/src/test/java/com/spotify/dbeam/jobs/JdbcAvroJobTest.java b/dbeam-core/src/test/java/com/spotify/dbeam/jobs/JdbcAvroJobTest.java index 295ab39a..feb3aa80 100644 --- a/dbeam-core/src/test/java/com/spotify/dbeam/jobs/JdbcAvroJobTest.java +++ b/dbeam-core/src/test/java/com/spotify/dbeam/jobs/JdbcAvroJobTest.java @@ -289,7 +289,7 @@ public void shouldFailDueToMissingFieldInSchema() throws Exception { // @Test(expected = ArrayIndexOutOfBoundsException.class) public void shouldFailDueToProvidedSchemaWithFieldInWrongOrder() throws Exception { final Path providedSchemaFile = testDir.resolve("provided_schema.avsc"); - Files.write(providedSchemaFile, getSchemaWithFieldsInWrongOrder().getBytes()); + Files.write(providedSchemaFile, TestAvroSchemas.getSchemaWithFieldsInWrongOrder().getBytes()); final Path outputPath = testDir.resolve("shouldRunJdbcAvroJob"); final String outputAvroFile = outputPath.resolve("part-00000-of-00001.avro").toAbsolutePath().toString();