Skip to content

Commit 189dc10

Browse files
steveloughranGabor Bota
authored andcommitted
HADOOP-16481. ITestS3GuardDDBRootOperations.test_300_MetastorePrune needs to set region. (#1209). Contributed by Steve Loughran.
1 parent e25a5c2 commit 189dc10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestS3GuardDDBRootOperations.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ public void test_300_MetastorePrune() throws Throwable {
186186
int result = S3GuardTool.run(conf,
187187
S3GuardTool.Prune.NAME,
188188
"-meta", checkNotNull(metastoreUriStr),
189+
"-region", fs.getBucketLocation(),
189190
"-seconds", "1");
190191
Assertions.assertThat(result)
191192
.describedAs("Result of prune %s", fsUriStr)

0 commit comments

Comments
 (0)