Package alluxio.cli
Class UnderFileSystemContractTest
- java.lang.Object
-
- alluxio.cli.UnderFileSystemContractTest
-
public final class UnderFileSystemContractTest extends java.lang.ObjectIntegration tests for Alluxio under filesystems. It describes the contract of Alluxio with the UFS through the UFS interface. This class will run all tests (with "Test" suffix in the method name) inUnderFileSystemCommonOperations. If the given ufs path is a S3 path, all tests inS3ASpecificOperationswill also be run.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTASK_NAME
-
Constructor Summary
Constructors Constructor Description UnderFileSystemContractTest()A constructor from default.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)voidrun()Runs the tests and returns nothing.alluxio.cli.ValidationTaskResultrunValidationTask()Runs the tests and return aValidationTaskResult.
-
-
-
Field Detail
-
TASK_NAME
public static final java.lang.String TASK_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
run
public void run() throws java.lang.ExceptionRuns the tests and returns nothing.- Throws:
java.lang.Exception
-
runValidationTask
public alluxio.cli.ValidationTaskResult runValidationTask() throws java.io.IOExceptionRuns the tests and return aValidationTaskResult.- Returns:
- a task result for all UFS tests
- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Parameters:
args- the input arguments- Throws:
java.lang.Exception
-
-