Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1352

Add exception classes for integration tests

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • REEF.NET
    • None

    Description

      We currently rely on ad-hoc exception messages in the REEF.NET integration tests. Once the work to properly propagate exceptions from Evaluator to Driver to Client is done, we can do better than that. Namely, I propose to introduce a set of new exception types in the Org.Apache.REEF.Tests.Exceptions namespace:

      Expected Exceptions

      • DriverSideExpectedException: The test expects this exception and will check its contents (cause, message) to decide whether the test passes.
      • EvaluatorSideExpectedException: Same, but on the driver side.

      Exceptions indicating test failure

      • DriverSideTestFailure: The test failed because of a check on the Driver side.
      • EvaluatorSideTestFailure: Same, but on the driver side.

      Exceptions indicating bugs in untested parts of REEF

      • DriverSideSystemException: The test encountered unexpected behavior that it didn't test for. In other words: A change broke the test.
      • EvaluatorSideSystemException: Same, but on the driver side.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              markus.weimer Markus Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: