# Class org.springframework.session.data.gemfire.AbstractGemFireOperationsSessionRepositoryTest

61 tests | 0 failures | 0 ignored | 1.845s duration

100%

successful

- Tests
- Standard output
- Standard error

## Tests

Test | Duration | Result
--- | --- | ---
afterCreateForDestroyOperationDoesNotPublishSessionCreatedEvent | 0.001s | passed
afterCreateForModificationDoesNotPublishSessionCreatedEvent | 0.001s | passed
afterCreateForNonSessionTypeDoesNotPublishSessionCreatedEvent | 0.001s | passed
afterCreateWithSessionIdPublishesSessionCreatedEvent | 0.001s | passed
afterCreateWithSessionPublishesSessionCreatedEvent | 0.002s | passed
afterDestroyWithNonSessionTypePublishesSessionDestroyedEventWithSessionId | 0.001s | passed
afterDestroyWithSessionIdPublishesSessionDestroyedEvent | 0.004s | passed
afterDestroyWithSessionPublishesSessionDestroyedEvent | 0.001s | passed
afterInvalidateWithNonSessionTypePublishesSessionExpiredEventWithSessionId | 0.002s | passed
afterInvalidateWithSessionIdPublishesSessionExpiredEvent | 0.002s | passed
afterInvalidateWithSessionPublishesSessionExpiredEvent | 0.002s | passed
constructGemFireOperationsSessionRepositoryWithNullTemplate | 0s | passed
constructGemFireSessionWithDefaultInitialization | 0s | passed
constructGemFireSessionWithId | 0.008s | passed
constructGemFireSessionWithNullSession | 0.001s | passed
constructGemFireSessionWithSession | 0.001s | passed
constructGemFireSessionWithUnspecifiedId | 0.002s | passed
createNewGemFireSession | 0s | passed
deleteSessionCallsDeleteSessionId | 0.013s | passed
fromExistingGemFireSessionIsGemFireSession | 0s | passed
fromExistingSession | 0.001s | passed
gemfireOperationsSessionRepositoryIsProperlyConstructedAndInitialized | 0.568s | passed
handleDeletedWithSessionIdPublishesSessionDeletedEvent | 0.001s | passed
handleDeletedWithSessionPublishesSessionDeletedEvent | 0.001s | passed
hasDeltaWhenNoSessionChangesIsFalse | 0s | passed
hasDeltaWhenSessionAttributesChangeIsTrue | 0.002s | passed
hasDeltaWhenSessionLastAccessedTimeIsUpdatedIsTrue | 0s | passed
hasDeltaWhenSessionMaxInactiveIntervalInSecondsIsUpdatedIsTrue | 0s | passed
isCreateWithCreateOperationAndNonProxyRegionReturnsTrue | 0.001s | passed
isCreateWithCreateOperationReturnsTrue | 0.004s | passed
isCreateWithLocalLoadCreateOperationReturnsFalse | 0.001s | passed
isCreateWithRememberedSessionIdReturnsFalse | 0.001s | passed
isCreateWithTombstoneReturnsFalse | 0.002s | passed
isCreateWithUpdateOperationReturnsFalse | 0.057s | passed
isExpiredIsFalseWhenMaxInactiveIntervalIsNegative | 0s | passed
isExpiredIsFalseWhenSessionIsActive | 0.001s | passed
isExpiredIsTrueWhenSessionIsInactive | 0.001s | passed
maxInactiveIntervalInSecondsAllowsNegativeValuesAndExtremelyLargeValues | 0s | passed
publishEventHandlesThrowable | 0.014s | passed
sessionAttributesEntrySetIteratesAttributeNameValues | 0.002s | passed
sessionAttributesFromData | 0s | passed
sessionAttributesFromDelta | 0.002s | passed
sessionAttributesFromSession | 0.001s | passed
sessionAttributesFromSessionAttributes | 0s | passed
sessionAttributesHasDeltaIsFalse | 0s | passed
sessionAttributesHasDeltaIsTrue | 0.001s | passed
sessionAttributesToData | 0.001s | passed
sessionAttributesToDelta | 0.002s | passed
sessionComparisons | 0.001s | passed
sessionCreateCreateExpireRecreatePublishesSessionEventsCreateExpireCreate | 0.003s | passed
sessionEqualsDifferentSessionBasedOnId | 0s | passed
sessionFromData | 1.036s | passed
sessionFromDelta | 0.003s | passed
sessionHashCodeIsNotEqualToStringIdHashCode | 0.001s | passed
sessionToData | 0.017s | passed
sessionToDataThenFromDataWhenPrincipalNameIsNullGetsHandledProperly | 0.001s | passed
sessionToDelta | 0.003s | passed
sessionWithAttributesAreThreadSafe | 0.070s | passed
setAndGetPrincipalName | 0.002s | passed
setGetAndRemoveAttribute | 0.001s | passed
touchSetsLastAccessedTime | 0s | passed

## Standard output

    [info 2017/06/06 00:28:09.908 PDT <Test worker> tid=0xc] Instantiator registered with id 800,813,552 class org.springframework.session.data.gemfire.AbstractGemFireOperationsSessionRepository$GemFireSession

    [info 2017/06/06 00:28:09.996 PDT <Test worker> tid=0xc] Instantiator registered with id 800,828,008 class org.springframework.session.data.gemfire.AbstractGemFireOperationsSessionRepository$GemFireSessionAttributes

## Standard error

    java.lang.instrument.IllegalClassFormatException: Error while instrumenting class org/apache/geode/internal/i18n/LocalizedStrings.
    	at org.jacoco.agent.rt.internal_14f7ee5.CoverageTransformer.transform(CoverageTransformer.java:93)
    	at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
    	at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    	at org.apache.geode.internal.InternalInstantiator._register(InternalInstantiator.java:174)
    	at org.apache.geode.internal.InternalInstantiator.register(InternalInstantiator.java:100)
    	at org.apache.geode.Instantiator.register(Instantiator.java:183)
    	at org.springframework.session.data.gemfire.AbstractGemFireOperationsSessionRepository.afterPropertiesSet(AbstractGemFireOperationsSessionRepository.java:233)
    	at org.springframework.session.data.gemfire.AbstractGemFireOperationsSessionRepositoryTest.gemfireOperationsSessionRepositoryIsProperlyConstructedAndInitialized(AbstractGemFireOperationsSessionRepositoryTest.java:223)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    	at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:68)
    	at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:74)
    	at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39)
    	at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:161)
    	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114)
    	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57)
    	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
    	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
    	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
    	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
    	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
    	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
    	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:147)
    	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:129)
    	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
    	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
    	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: java.io.IOException: Error while instrumenting class org/apache/geode/internal/i18n/LocalizedStrings.
    	at org.jacoco.agent.rt.internal_14f7ee5.core.instr.Instrumenter.instrumentError(Instrumenter.java:152)
    	at org.jacoco.agent.rt.internal_14f7ee5.core.instr.Instrumenter.instrument(Instrumenter.java:103)
    	at org.jacoco.agent.rt.internal_14f7ee5.CoverageTransformer.transform(CoverageTransformer.java:91)
    	... 69 more
    Caused by: java.lang.RuntimeException: Method code too large!
    	at org.jacoco.agent.rt.internal_14f7ee5.asm.MethodWriter.getSize(MethodWriter.java:2036)
    	at org.jacoco.agent.rt.internal_14f7ee5.asm.ClassWriter.toByteArray(ClassWriter.java:827)
    	at org.jacoco.agent.rt.internal_14f7ee5.core.instr.Instrumenter.instrument(Instrumenter.java:84)
    	at org.jacoco.agent.rt.internal_14f7ee5.core.instr.Instrumenter.instrument(Instrumenter.java:101)
    	... 70 more