[refactor] fix machine_name&accesskey leak (#6131)

* fix machine name leak && fix accesskey leak

* Update fe/fe-core/src/test/java/org/apache/doris/backup/BrokerStorageTest.java

Co-authored-by: Zhengguo Yang <780531911@qq.com>

Co-authored-by: pxl <panxiaolei01@baidu.com>
Co-authored-by: Zhengguo Yang <780531911@qq.com>
This commit is contained in:
Pxl
2021-07-01 09:38:47 +08:00
committed by GitHub
parent f01c8e570d
commit 6b76b5bcea
3 changed files with 6 additions and 6 deletions

View File

@ -59,7 +59,7 @@ import mockit.Tested;
public class BrokerStorageTest {
private static String basePath;
private final String bucket = "bos://yang-repo/";
private final String brokerHost = "xafj-palo-rpm64.xafj.baidu.com";
private final String brokerHost = "your_host";
private Map<String, String> properties;
@Tested
@ -188,4 +188,4 @@ public class BrokerStorageTest {
status = storage.checkPathExist(testFile + ".NOT_EXIST");
Assert.assertEquals(Status.ErrCode.NOT_FOUND, status.getErrCode());
}
}
}