Test results
1 suite, 1 failed test
gov.va.med.pcmm.service.scheduledJobs.TestPatientAutoInactivationJob
testDeathReassignment
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.AssertionError: The batch process failed at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:202) at gov.va.med.pcmm.service.scheduledJobs.PatientAutoInactivationJob.performPatientAutoInactivationForStations(PatientAutoInactivationJob.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at gov.va.med.pcmm.util.MethodTimerAspect.logTimeMethod(MethodTimerAspect.java:25) at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) at gov.va.med.pcmm.service.scheduledJobs.PatientAutoInactivationJob$$EnhancerBySpringCGLIB$$8bfef6d2.performPatientAutoInactivationForStations(<generated>) at gov.va.med.pcmm.service.scheduledJobs.TestPatientAutoInactivationJob.testDeathReassignment(TestPatientAutoInactivationJob.java:311) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:200) at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:171) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212) at org.testng.internal.Invoker.invokeMethod(Invoker.java:707) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175) Caused by: java.util.concurrent.ExecutionException: java.lang.AssertionError: The batch process failed at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:188) at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:112) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.AssertionError: The batch process failed at org.testng.Assert.fail(Assert.java:83) at gov.va.med.pcmm.service.batch.JobExecutionResultItemServiceForTestingImpl.saveOrUpdate(JobExecutionResultItemServiceForTestingImpl.java:25) at gov.va.med.pcmm.service.batch.impl.JobExecutionResultItemServiceImpl.saveItemResultInNewTransaction(JobExecutionResultItemServiceImpl.java:66) at gov.va.med.pcmm.service.batch.impl.JobExecutionResultItemServiceImpl$$FastClassBySpringCGLIB$$50bb75bf.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at gov.va.med.pcmm.util.MethodTimerAspect.logTimeMethod(MethodTimerAspect.java:25) at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) at gov.va.med.pcmm.service.batch.JobExecutionResultItemServiceForTestingImpl$$EnhancerBySpringCGLIB$$37945078.saveItemResultInNewTransaction(<generated>) at gov.va.med.pcmm.service.scheduledJobs.PatientAutoInactivationJobAsyncHelper.performPatientAutoInactivationForStation(PatientAutoInactivationJobAsyncHelper.java:159) at gov.va.med.pcmm.service.scheduledJobs.PatientAutoInactivationJobAsyncHelper$$FastClassBySpringCGLIB$$904d3302.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at gov.va.med.pcmm.util.MethodTimerAspect.logTimeMethod(MethodTimerAspect.java:25) at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:110) ... 4 more Caused by: javax.resource.ResourceException: Exception getting VistALink connection at gov.va.med.ciss.service.vista.PcmmEncounterServiceImpl.getPatientEncounters(PcmmEncounterServiceImpl.java:226) at gov.va.med.pcmm.service.vista.PcmmEncounterServiceTestImpl.getPatientEncounters(PcmmEncounterServiceTestImpl.java:49) at gov.va.med.ciss.service.vista.PcmmEncounterServiceImpl.getEncountersByPatientDFNThenProviderIEN(PcmmEncounterServiceImpl.java:245) at gov.va.med.ciss.service.vista.PcmmEncounterServiceImpl$$FastClassBySpringCGLIB$$77fda612.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) at gov.va.med.pcmm.service.vista.PcmmEncounterServiceTestImpl$$EnhancerBySpringCGLIB$$b6a6b939.getEncountersByPatientDFNThenProviderIEN(<generated>) at gov.va.med.pcmm.service.scheduledJobs.PatientAutoInactivationJobAsyncHelper.processEncountersForStation(PatientAutoInactivationJobAsyncHelper.java:400) at gov.va.med.pcmm.service.scheduledJobs.PatientAutoInactivationJobAsyncHelper.performPatientAutoInactivationForStation(PatientAutoInactivationJobAsyncHelper.java:150) ... 24 more Caused by: gov.va.med.ciss.service.vista.RPCException: Exception getting VistALink connection at gov.va.med.ciss.service.vista.RpcServiceUtil.runRpc(RpcServiceUtil.java:233) at gov.va.med.ciss.service.vista.PcmmEncounterServiceImpl.getPatientEncounters(PcmmEncounterServiceImpl.java:107) ... 36 more Caused by: javax.resource.ResourceException: ^^^Not implemented in mock^^^ at gov.va.med.ciss.service.vista.RpcServiceUtil.getVistaLinkConnection(RpcServiceUtil.java:279) at gov.va.med.ciss.service.vista.RpcServiceUtil.runRpc(RpcServiceUtil.java:163) ... 37 more Caused by: gov.va.med.ciss.service.vistalink.VistaLinkException: ^^^Not implemented in mock^^^ at gov.va.med.ciss.service.vistalink.impl.VistaLinkServiceMock.getConnection(VistaLinkServiceMock.java:31) at gov.va.med.ciss.service.vista.RpcServiceUtil.getVistaLinkConnection(RpcServiceUtil.java:277) ... 38 more
C:\Users\vhaisdbarryc\AppData\Local\Temp\1\testng-eclipse-490014438\testng-customsuite.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Default suite">
  <test verbose="2" name="Default test">
    <classes>
      <class name="gov.va.med.pcmm.service.scheduledJobs.TestPatientAutoInactivationJob">
        <methods>
          <include name="testDeathReassignment"/>
        </methods>
      </class> <!-- gov.va.med.pcmm.service.scheduledJobs.TestPatientAutoInactivationJob -->
    </classes>
  </test> <!-- Default test -->
</suite> <!-- Default suite -->
            
Tests for Default suite
  • Default test (1 class)
Groups for Default suite
Times for Default suite
Total running time: 2 seconds
Reporter output for Default suite
5 ignored methods
gov.va.med.pcmm.service.scheduledJobs.TestPatientAutoInactivationJob
testInactivityUnassignment
testLastEncounterEvent
testFlagging
testUnflagging
testDeathUnassignment
Methods in chronological order
gov.va.med.pcmm.service.scheduledJobs.TestPatientAutoInactivationJob
springTestContextBeforeTestClass 0 ms
springTestContextPrepareTestInstance 15 ms
beforeClass 78626 ms
springTestContextBeforeTestMethod(public void gov.va.med.pcmm.service.scheduledJobs.TestPatientAutoInactivationJob.testDeathReassignme...) 83338 ms
login 83338 ms
init 89875 ms
testDeathReassignment 94198 ms
cleanup 96430 ms
springTestContextAfterTestMethod(public void gov.va.med.pcmm.service.scheduledJobs.TestPatientAutoInactivationJob.testDeathReassignme...) 97335 ms
afterClass 97335 ms
springTestContextAfterTestClass 97554 ms