[infinispan-issues] [JBoss JIRA] (ISPN-4579) SingleNodeJdbcStoreIT.cleanup NPE after test failure

Galder Zamarreño (JIRA) issues at jboss.org
Tue Sep 9 03:51:59 EDT 2014


    [ https://issues.jboss.org/browse/ISPN-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000152#comment-13000152 ] 

Galder Zamarreño commented on ISPN-4579:
----------------------------------------

@dan, we can possibly set SingleNodeJdbcStoreIT to be unstable? While https://github.com/infinispan/infinispan/pull/2774 gets completed to get TRACE more easily for server, TRACE can already be obtained selective using the method in https://github.com/infinispan/infinispan/tree/master/server/integration/testsuite by passing in -Dlog.level.infinispan=TRACE. I'm not sure, but the log file might be rotating one though. WDYT?

> 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.Beta2
>
>
> 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)



More information about the infinispan-issues mailing list