HDDS-1840. Fix TestSecureOzoneContainer. (#1135)

This commit is contained in:
Bharat Viswanadham 2019-07-22 10:23:48 -07:00 committed by Arpit Agarwal
parent acdb0a1276
commit 340bbaf8bf

View File

@ -26,6 +26,7 @@
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 static Collection<Object[]> blockTokenOptions() {
@Before
public void setup() throws Exception {
DefaultMetricsSystem.setMiniClusterMode(true);
conf = new OzoneConfiguration();
String ozoneMetaPath =
GenericTestUtils.getTempPath("ozoneMeta");