Package alluxio.cli

Class UnderFileSystemContractTest


  • public final class UnderFileSystemContractTest
    extends java.lang.Object
    Integration 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) in UnderFileSystemCommonOperations. If the given ufs path is a S3 path, all tests in S3ASpecificOperations will also be run.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TASK_NAME  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      void run()
      Runs the tests and returns nothing.
      alluxio.cli.ValidationTaskResult runValidationTask()
      Runs the tests and return a ValidationTaskResult.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnderFileSystemContractTest

        public UnderFileSystemContractTest()
        A constructor from default.
    • Method Detail

      • run

        public void run()
                 throws java.lang.Exception
        Runs the tests and returns nothing.
        Throws:
        java.lang.Exception
      • runValidationTask

        public alluxio.cli.ValidationTaskResult runValidationTask()
                                                           throws java.io.IOException
        Runs the tests and return a ValidationTaskResult.
        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