HDDS-1161. Disable failing test which are tracked by a separated jira. Contributed by Elek, Marton.
This commit is contained in:
parent
d33f0666f6
commit
28d0bf9f67
|
@ -43,6 +43,7 @@
|
||||||
import org.apache.hadoop.hdds.server.events.EventQueue;
|
import org.apache.hadoop.hdds.server.events.EventQueue;
|
||||||
import org.apache.hadoop.test.GenericTestUtils;
|
import org.apache.hadoop.test.GenericTestUtils;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Rule;
|
import org.junit.Rule;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.rules.Timeout;
|
import org.junit.rules.Timeout;
|
||||||
|
@ -128,6 +129,7 @@ public void testChillModeExitRule() throws Exception {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("TODO:HDDS-1140")
|
||||||
public void testDisableChillMode() {
|
public void testDisableChillMode() {
|
||||||
OzoneConfiguration conf = new OzoneConfiguration(config);
|
OzoneConfiguration conf = new OzoneConfiguration(config);
|
||||||
conf.setBoolean(HddsConfigKeys.HDDS_SCM_CHILLMODE_ENABLED, false);
|
conf.setBoolean(HddsConfigKeys.HDDS_SCM_CHILLMODE_ENABLED, false);
|
||||||
|
|
|
@ -58,6 +58,7 @@
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.mockito.Mockito;
|
import org.mockito.Mockito;
|
||||||
import org.slf4j.event.Level;
|
import org.slf4j.event.Level;
|
||||||
|
@ -104,6 +105,7 @@ public void teardown() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("TODO:HDDS-1155")
|
||||||
public void testOnMessage() throws IOException, NodeNotFoundException {
|
public void testOnMessage() throws IOException, NodeNotFoundException {
|
||||||
//GIVEN
|
//GIVEN
|
||||||
DatanodeDetails datanode1 = TestUtils.randomDatanodeDetails();
|
DatanodeDetails datanode1 = TestUtils.randomDatanodeDetails();
|
||||||
|
@ -260,6 +262,7 @@ public void testStatisticsUpdate() throws Exception {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("TODO:HDDS-1155")
|
||||||
public void testOnMessageReplicaFailure() throws Exception {
|
public void testOnMessageReplicaFailure() throws Exception {
|
||||||
|
|
||||||
DatanodeDetails datanode1 = TestUtils.randomDatanodeDetails();
|
DatanodeDetails datanode1 = TestUtils.randomDatanodeDetails();
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
@ -195,6 +196,7 @@ public void testGetMatchingContainer() throws IOException {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("TODO:HDDS-1159")
|
||||||
public void testGetMatchingContainerMultipleThreads()
|
public void testGetMatchingContainerMultipleThreads()
|
||||||
throws IOException, InterruptedException {
|
throws IOException, InterruptedException {
|
||||||
ContainerWithPipeline container1 = scm.getClientProtocolServer().
|
ContainerWithPipeline container1 = scm.getClientProtocolServer().
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
import static org.apache.hadoop.ozone.om.exceptions.OMException.ResultCodes.TOKEN_EXPIRED;
|
import static org.apache.hadoop.ozone.om.exceptions.OMException.ResultCodes.TOKEN_EXPIRED;
|
||||||
import static org.apache.hadoop.ozone.om.exceptions.OMException.ResultCodes.VOLUME_NOT_FOUND;
|
import static org.apache.hadoop.ozone.om.exceptions.OMException.ResultCodes.VOLUME_NOT_FOUND;
|
||||||
import static org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod.KERBEROS;
|
import static org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod.KERBEROS;
|
||||||
|
import org.junit.Ignore;
|
||||||
import static org.slf4j.event.Level.INFO;
|
import static org.slf4j.event.Level.INFO;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
@ -401,6 +402,7 @@ public void testSecureOmInitializationSuccess() throws Exception {
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("TODO:HDDS-1156")
|
||||||
public void testDelegationToken() throws Exception {
|
public void testDelegationToken() throws Exception {
|
||||||
|
|
||||||
// Capture logs for assertions
|
// Capture logs for assertions
|
||||||
|
@ -546,6 +548,7 @@ private void generateKeyPair(OzoneConfiguration config) throws Exception {
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("TODO:HDDS-1156")
|
||||||
public void testDelegationTokenRenewal() throws Exception {
|
public void testDelegationTokenRenewal() throws Exception {
|
||||||
GenericTestUtils
|
GenericTestUtils
|
||||||
.setLogLevel(LoggerFactory.getLogger(Server.class.getName()), INFO);
|
.setLogLevel(LoggerFactory.getLogger(Server.class.getName()), INFO);
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
import org.apache.hadoop.util.ThreadUtil;
|
import org.apache.hadoop.util.ThreadUtil;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Rule;
|
import org.junit.Rule;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.rules.TemporaryFolder;
|
import org.junit.rules.TemporaryFolder;
|
||||||
|
@ -66,6 +67,7 @@
|
||||||
* Tests ozone containers via secure grpc/netty.
|
* Tests ozone containers via secure grpc/netty.
|
||||||
*/
|
*/
|
||||||
@RunWith(Parameterized.class)
|
@RunWith(Parameterized.class)
|
||||||
|
@Ignore("TODO:HDDS-1157")
|
||||||
public class TestOzoneContainerWithTLS {
|
public class TestOzoneContainerWithTLS {
|
||||||
private final static Logger LOG = LoggerFactory.getLogger(
|
private final static Logger LOG = LoggerFactory.getLogger(
|
||||||
TestOzoneContainerWithTLS.class);
|
TestOzoneContainerWithTLS.class);
|
||||||
|
|
|
@ -343,6 +343,7 @@ public void testFailedDeleteVolume() throws IOException, OzoneException {
|
||||||
|
|
||||||
// Create a volume and test Volume access for a different user
|
// Create a volume and test Volume access for a different user
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("TODO:HDDS-1147")
|
||||||
public void testAccessVolume() throws IOException, OzoneException {
|
public void testAccessVolume() throws IOException, OzoneException {
|
||||||
String userName = "user" + RandomStringUtils.randomNumeric(5);
|
String userName = "user" + RandomStringUtils.randomNumeric(5);
|
||||||
String adminName = "admin" + RandomStringUtils.randomNumeric(5);
|
String adminName = "admin" + RandomStringUtils.randomNumeric(5);
|
||||||
|
@ -673,6 +674,7 @@ public void testDeleteKey() throws Exception {
|
||||||
* @throws OzoneException
|
* @throws OzoneException
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("TODO:HDDS-1147")
|
||||||
public void testRenameKey() throws IOException, OzoneException {
|
public void testRenameKey() throws IOException, OzoneException {
|
||||||
String userName = "user" + RandomStringUtils.randomNumeric(5);
|
String userName = "user" + RandomStringUtils.randomNumeric(5);
|
||||||
String adminName = "admin" + RandomStringUtils.randomNumeric(5);
|
String adminName = "admin" + RandomStringUtils.randomNumeric(5);
|
||||||
|
@ -1307,6 +1309,7 @@ public void testOmInitialization() throws IOException {
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("TODO:HDDS-1147")
|
||||||
public void testOmInitializationFailure() throws Exception {
|
public void testOmInitializationFailure() throws Exception {
|
||||||
OzoneConfiguration config = new OzoneConfiguration();
|
OzoneConfiguration config = new OzoneConfiguration();
|
||||||
final String path =
|
final String path =
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Rule;
|
import org.junit.Rule;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.rules.ExpectedException;
|
import org.junit.rules.ExpectedException;
|
||||||
|
@ -130,6 +131,7 @@ public void testOneOMNodeDown() throws Exception {
|
||||||
* Test client request fails when 2 OMs are down.
|
* Test client request fails when 2 OMs are down.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("TODO:HDDS-1158")
|
||||||
public void testTwoOMNodesDown() throws Exception {
|
public void testTwoOMNodesDown() throws Exception {
|
||||||
cluster.stopOzoneManager(1);
|
cluster.stopOzoneManager(1);
|
||||||
cluster.stopOzoneManager(2);
|
cluster.stopOzoneManager(2);
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
import org.junit.AfterClass;
|
import org.junit.AfterClass;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -74,6 +75,7 @@ public static void shutdown() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("TODO:HDDS-1160")
|
||||||
public void testRestart() throws Exception {
|
public void testRestart() throws Exception {
|
||||||
startFreon();
|
startFreon();
|
||||||
StateMachine sm = getStateMachine();
|
StateMachine sm = getStateMachine();
|
||||||
|
|
Loading…
Reference in New Issue