Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13086

EventLoggerCompatibilityTest.testReadWriteFrom11EventCache always fails

XMLWordPrintable

      The test loads an old data file of the event log cache, which sets a lifespan of 7 days for entries. So the test only worked for 7 days after the file was generated, and now the cache is empty:

      20:32:28,727 ERROR [TestSuiteProgress] Test failed: EventLoggerCompatibilityTest.testReadWriteFrom11EventCache java.lang.AssertionError: expected:<43> but was:<0>
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.junit.Assert.failNotEquals(Assert.java:835)
      	at org.junit.Assert.assertEquals(Assert.java:647)
      	at org.junit.Assert.assertEquals(Assert.java:633)
      	at org.infinispan.server.persistence.EventLoggerCompatibilityTest$1.call(EventLoggerCompatibilityTest.java:75)
      	at org.infinispan.test.TestingUtil.withCacheManager(TestingUtil.java:1534)
      	at org.infinispan.server.persistence.EventLoggerCompatibilityTest.testReadWriteFrom11EventCache(EventLoggerCompatibilityTest.java:71)
      

              wburns@redhat.com Will Burns
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: