[
https://issues.jboss.org/browse/ISPN-4579?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-4579:
----------------------------------------
Ah sorry, I had been focusing on the test error itself. Sure, I'll add the null check
:)
SingleNodeJdbcStoreIT.cleanup NPE after test failure
----------------------------------------------------
Key: ISPN-4579
URL:
https://issues.jboss.org/browse/ISPN-4579
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Affects Versions: 7.0.0.Alpha5
Reporter: Dan Berindei
Assignee: Galder Zamarreño
Labels: testsuite_stability
Fix For: 7.0.0.CR1
After a failure in {{SingleNodeJdbcStoreIT.testForcedShutdown}}, it seems not all the
test stores are properly initialized, and cleanup fails with a NullPointerException:
{noformat}
[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)
{noformat}
This bug is only about the NPE, the test failure is agent-specific (probably caused by
the low open files/user processes limits).
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)