HADOOP-16481. ITestS3GuardDDBRootOperations.test_300_MetastorePrune needs to set region. (#1209). Contributed by Steve Loughran.

This commit is contained in:
Steve Loughran 2019-08-09 16:33:08 +01:00 committed by Gabor Bota
parent e25a5c2eab
commit 189dc10884

View File

@ -186,6 +186,7 @@ public void test_300_MetastorePrune() throws Throwable {
int result = S3GuardTool.run(conf, int result = S3GuardTool.run(conf,
S3GuardTool.Prune.NAME, S3GuardTool.Prune.NAME,
"-meta", checkNotNull(metastoreUriStr), "-meta", checkNotNull(metastoreUriStr),
"-region", fs.getBucketLocation(),
"-seconds", "1"); "-seconds", "1");
Assertions.assertThat(result) Assertions.assertThat(result)
.describedAs("Result of prune %s", fsUriStr) .describedAs("Result of prune %s", fsUriStr)