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 4fc976f commit eb318a1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class TestAlluxioFileIterator

@Test
void testNext() throws IOException {
String alluxioDirPath = "alluxio://master:8020/s3a/tables/sales";
String alluxioDirPath = "alluxio://master:19998";
FileInfo fileInfo = new FileInfo();
fileInfo.setName(FILE_NAME);
fileInfo.setPath(FILE_PATH);
Expand All @@ -44,9 +44,9 @@ void testNext() throws IOException {
alluxioDirPath);
FileEntry fileEntry = iterator.next();
assertThat(fileEntry.location().toString())
.isEqualTo(alluxioDirPath + "/" + FILE_NAME);
.isEqualTo(alluxioDirPath + FILE_PATH);

alluxioDirPath = "alluxio:/s3a/tables/sales";
alluxioDirPath = "alluxio:/";
fileInfo = new FileInfo();
fileInfo.setName(FILE_NAME);
fileInfo.setPath(FILE_PATH);
Expand All @@ -57,6 +57,6 @@ void testNext() throws IOException {
alluxioDirPath);
fileEntry = iterator.next();
assertThat(fileEntry.location().toString())
.isEqualTo(alluxioDirPath + "/" + FILE_NAME);
.isEqualTo(alluxioDirPath + FILE_PATH);
}
}

0 comments on commit eb318a1

Please sign in to comment.