[infinispan-issues] [JBoss JIRA] (ISPN-9810) Fix testUpdatingTTLOnAccessingData test

Katia Aresti (Jira) issues at jboss.org
Mon Dec 10 06:49:00 EST 2018


Katia Aresti created ISPN-9810:
----------------------------------

             Summary: Fix testUpdatingTTLOnAccessingData test
                 Key: ISPN-9810
                 URL: https://issues.jboss.org/browse/ISPN-9810
             Project: Infinispan
          Issue Type: Task
          Components: Spring Integration
    Affects Versions: 9.4.4.Final, 10.0.0.Alpha2
            Reporter: Katia Aresti
            Assignee: Katia Aresti
             Fix For: 10.0.0.Beta1, 9.4.5.Final


InfinispanApplicationPublishedBridgeTCK.testEventBridge

Fails in remote randomly. 

This failure is related to the fact that spring session API's have changed. Now to send an event to spring context we need to send the session object instead of the ID.
In the case of this test, we safe two sessions and remove 1.
After a while, we will verify if 2 creation events and 1 deletion event has been fired.
If the creation and removal happens faster than the listener getting notified and retrieving the session object to send the notification to spring, the creation event won't be fired ( (remote get will be null in this case), so we will have 1 event instead of two.

The test must be changed to meet this case.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list