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

SingleNodeJdbcStoreIT.cleanup NPE after test failure

    XMLWordPrintable

Details

    Description

      After a failure in SingleNodeJdbcStoreIT.testForcedShutdown, it seems not all the test stores are properly initialized, and cleanup fails with a NullPointerException:

      [00:57:07] :				 [testForcedShutdown] java.lang.AssertionError: null
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertNotNull(Assert.java:621)
      	at org.junit.Assert.assertNotNull(Assert.java:631)
      	at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testRestartStringStoreBefore(SingleNodeJdbcStoreIT.java:223)
      	at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testForcedShutdown(SingleNodeJdbcStoreIT.java:163)
      ...
      [00:57:07]W:		 [org.infinispan.server:test-suite] java.lang.NullPointerException
      	at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.cleanup(SingleNodeJdbcStoreIT.java:82)
      

      This bug is only about the NPE, the test failure is agent-specific (probably caused by the low open files/user processes limits).

      Attachments

        Activity

          People

            rh-ee-galder Galder ZamarreƱo
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: