Service Virtualization

 View Only

ANT task just fails immediate when it starts to run the junit lisa test

  • 1.  ANT task just fails immediate when it starts to run the junit lisa test

    Posted Jun 01, 2016 01:53 PM

    What might be the reason that the ANT task just fails when it starts to run the junit lisa test. i am using lisa7.

     

    [junitlisa] Running com.itko.lisa.testing.JUnitRunLISA

    [junitlisa] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

    [junitlisa] Test com.itko.lisa.testing.JUnitRunLISA FAILED (crashed)

     

    there is no workstation.log with the latest entry. No error in the agent logs.

     

    This is shown in the test result:

     

    Failed

    1. com.itko.lisa.testing.JUnitRunLISA.BeforeFirstTest

    Error Message

    Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.

    Stacktrace

    junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
            at com.itko.lisa.ant.JUnitLisaTask.execute(JUnitLisaTask.java:255)

     

     

    i have tried increasing the maxpermsize, maxmemory to no avail. Addinf  showoutput="yes"   to the junit properties shows no extra details