HDDS-1840. Fix TestSecureOzoneContainer. (#1135)
This commit is contained in:
parent
acdb0a1276
commit
340bbaf8bf
|
@ -26,6 +26,7 @@ import org.apache.hadoop.hdds.protocol.proto.HddsProtos.BlockTokenSecretProto.Ac
|
|||
import org.apache.hadoop.hdds.security.exception.SCMSecurityException;
|
||||
import org.apache.hadoop.hdds.security.token.OzoneBlockTokenIdentifier;
|
||||
import org.apache.hadoop.hdds.security.x509.SecurityConfig;
|
||||
import org.apache.hadoop.metrics2.lib.DefaultMetricsSystem;
|
||||
import org.apache.hadoop.ozone.OzoneConfigKeys;
|
||||
import org.apache.hadoop.hdds.conf.OzoneConfiguration;
|
||||
import org.apache.hadoop.ozone.client.CertificateClientTestImpl;
|
||||
|
@ -110,6 +111,7 @@ public class TestSecureOzoneContainer {
|
|||
|
||||
@Before
|
||||
public void setup() throws Exception {
|
||||
DefaultMetricsSystem.setMiniClusterMode(true);
|
||||
conf = new OzoneConfiguration();
|
||||
String ozoneMetaPath =
|
||||
GenericTestUtils.getTempPath("ozoneMeta");
|
||||
|
|
Loading…
Reference in New Issue