Package org.apache.hadoop.hbase
Class TestShellExecEndpointCoprocessor
java.lang.Object
org.apache.hadoop.hbase.TestShellExecEndpointCoprocessor
@Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestShellExecEndpointCoprocessor
extends Object
Test for the
ShellExecEndpointCoprocessor.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.client.AsyncConnectionprivate static HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static FileensureTestDataDirExists(HBaseTestingUtil testingUtility) static voidsetUp()voidstatic voidtearDown()voidvoidvoidprivate voidtestShellExecForeground(Consumer<org.apache.hadoop.hbase.coprocessor.protobuf.generated.ShellExecEndpoint.ShellExecRequest.Builder> consumer) void
-
Field Details
-
testingUtility
-
conn
-
-
Constructor Details
-
TestShellExecEndpointCoprocessor
public TestShellExecEndpointCoprocessor()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
setUpConnection
- Throws:
Exception
-
tearDownConnection
- Throws:
IOException
-
testShellExecUnspecified
-
testShellExecForeground
-
testShellExecForeground
private void testShellExecForeground(Consumer<org.apache.hadoop.hbase.coprocessor.protobuf.generated.ShellExecEndpoint.ShellExecRequest.Builder> consumer) -
testShellExecBackground
- Throws:
IOException
-
ensureTestDataDirExists
- Throws:
IOException
-