Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JiamingMai committed Dec 29, 2024
1 parent fd57ed7 commit 4fc976f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void testNext() throws IOException {
URIStatus fileStatus = new URIStatus(fileInfo);
AlluxioFileIterator iterator = new AlluxioFileIterator(
List.of(fileStatus),
Location.of(alluxioDirPath));
alluxioDirPath);
FileEntry fileEntry = iterator.next();
assertThat(fileEntry.location().toString())
.isEqualTo(alluxioDirPath + "/" + FILE_NAME);

Check failure on line 47 in lib/trino-filesystem-alluxio/src/test/java/io/trino/filesystem/alluxio/TestAlluxioFileIterator.java

View workflow job for this annotation

GitHub Actions / test (lib/trino-filesystem,lib/trino-filesystem-azure,lib/trino-filesystem-alluxio,lib/trino-file...

TestAlluxioFileIterator.testNext

expected: "alluxio://master:8020/s3a/tables/sales/000000_0" but was: "alluxio://master:8020/s3a/tables/sales/s3a/tables/sales/000000_0"
Expand All @@ -54,7 +54,7 @@ void testNext() throws IOException {
fileStatus = new URIStatus(fileInfo);
iterator = new AlluxioFileIterator(
List.of(fileStatus),
Location.of(alluxioDirPath));
alluxioDirPath);
fileEntry = iterator.next();
assertThat(fileEntry.location().toString())
.isEqualTo(alluxioDirPath + "/" + FILE_NAME);
Expand Down

0 comments on commit 4fc976f

Please sign in to comment.