diff --git a/samples/snippets/src/test/java/com/example/bigquerystorage/JsonWriterStreamCdcIT.java b/samples/snippets/src/test/java/com/example/bigquerystorage/JsonWriterStreamCdcIT.java index df5432353f..0b8dca80df 100644 --- a/samples/snippets/src/test/java/com/example/bigquerystorage/JsonWriterStreamCdcIT.java +++ b/samples/snippets/src/test/java/com/example/bigquerystorage/JsonWriterStreamCdcIT.java @@ -63,7 +63,8 @@ public void setUp() { @Test public void testJsonWriterStreamCdc() throws Exception { - Path dataFilePath = FileSystems.getDefault().getPath("samples/snippets/src/test/resources", + Path dataFilePath = FileSystems.getDefault().getPath( + "/java-bigquerystorage/samples/snippets/src/test/resources/NewCustomers.json", "NewCustomers.json"); System.out.println(dataFilePath.toString());