[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:
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user