[infinispan-issues] [JBoss JIRA] (ISPN-5054) EntryRetrieverReplPartitionHandlingTest.testRetrievalWhenPartitionIsDegrated fails intermittently
Dan Berindei (JIRA)
issues at jboss.org
Tue Jan 13 17:26:49 EST 2015
[ https://issues.jboss.org/browse/ISPN-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032307#comment-13032307 ]
Dan Berindei commented on ISPN-5054:
------------------------------------
The problem seems to be that the test doesn't wait for the partitions to actually enter degraded mode before starting the iteration. In replicated mode all the keys are local, so it can finish successfully between the JGroups view being installed and the cache topology being updated.
{noformat}
11:23:21,567 TRACE (testng-EntryRetrieverReplPartitionHandlingTest:) [BasePartitionHandlingTest] New views installed
11:23:21,567 TRACE (testng-EntryRetrieverReplPartitionHandlingTest:) [InvocationContextInterceptor] Invoked with command org.infinispan.commands.read.EntryRetrievalCommand at 318802 and InvocationContext [org.infinispan.context.impl.NonTxInvocationContext at 32a81ceb]
11:23:21,568 ERROR (testng-EntryRetrieverReplPartitionHandlingTest:) [UnitTestTestNGListener] Test testRetrievalWhenPartitionIsDegrated(org.infinispan.partitionhandling.EntryRetrieverReplPartitionHandlingTest) failed.
org.testng.TestException:
Method EntryRetrieverDistPartitionHandlingTest.testRetrievalWhenPartitionIsDegrated()[pri:0, instance:org.infinispan.partitionhandling.EntryRetrieverReplPartitionHandlingTest at 4010d494] should have thrown an exception of class org.infinispan.partitionhandling.AvailabilityException
11:23:21,568 ERROR (transport-thread-NodeA-p30559-t4:) [PreferConsistencyStrategy] ISPN000318: Cache ___defaultcache lost at least half of the stable members, assuming a network split and entering degraded mode. Current members are [NodeA-23274, NodeB-35032], lost members are [NodeC-63977, NodeD-22740], stable members are [NodeA-23274, NodeB-35032, NodeC-63977, NodeD-22740]
{noformat}
> EntryRetrieverReplPartitionHandlingTest.testRetrievalWhenPartitionIsDegrated fails intermittently
> -------------------------------------------------------------------------------------------------
>
> Key: ISPN-5054
> URL: https://issues.jboss.org/browse/ISPN-5054
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite - Core
> Affects Versions: 7.0.2.Final
> Reporter: William Burns
> Priority: Blocker
> Labels: testsuite_stability
>
> This test has failed for a bit on an off.
> http://ci.infinispan.org/project.html?projectId=Infinispan&testNameId=5020033908726596704&tab=testDetails
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the infinispan-issues
mailing list