Uploaded image for project: 'Contrib: Evaluation System'
  1. Contrib: Evaluation System
  2. EVALSYS-1471

Junit Tests fail when buidling Evaluation System in Sakai 10.5 and Eval Sys Trunk

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: No Resources
    • Affects Version/s: 10.4
    • Fix Version/s: None
    • Component/s: Eval Setup
    • Labels:
      None
    • Environment:
      Windows 7 64bit. Java 7u79. Maven 3.2.5. Tomcat 7.0.56. Sakai 10.5.

      Description

      When building the Evaluation System using Maven, the following Tests fail:
      Results :

      Failed tests:
      EvaluationDaoImplTest>ConditionalTestCase.runBare:79->testGetEvaluationsForOwn
      erAndGroups:755 expected:<34> but was:<18>
      EvalDeliveryServiceImplTest>ConditionalTestCase.runBare:79->testSaveResponse:6
      10 expected:<[missingRequiredAnswers]> but was:<[userCannotTakeEval]>
      EvalEvaluationSetupServiceImplTest>ConditionalTestCase.runBare:79->testSetEval
      Assignments_noAuthnNoGroups:1597 expected:<1> but was:<0>

      Tests run: 274, Failures: 3, Errors: 0, Skipped: 0

      When buidling using command -Djava.util.Arrays.useLegacyMergeSort=true. The EvaluationDaoImplTest passes but all the other Tests fail:
      Failed tests:
      EvalDeliveryServiceImplTest>ConditionalTestCase.runBare:79->testSaveResponse:6
      10 expected:<[missingRequiredAnswers]> but was:<[userCannotTakeEval]>
      EvalEvaluationSetupServiceImplTest>ConditionalTestCase.runBare:79->testSetEval
      Assignments_noAuthnNoGroups:1597 expected:<1> but was:<0>

      Tests run: 274, Failures: 2, Errors: 0, Skipped: 0

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  Unassigned Unassigned
                  Reporter:
                  magagjs Sifiso Johannes Magagula
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration