Skip to content

Fix Partition Group Selection on ClusterView Event [API-2259] #1617

Fix Partition Group Selection on ClusterView Event [API-2259]

Fix Partition Group Selection on ClusterView Event [API-2259] #1617

GitHub Actions / Test Results succeeded Sep 10, 2024 in 1s

14345 passed, 3 failed and 252 skipped

Tests failed

Report Passed Failed Skipped Time
./temp/test-results/ubuntu/results-net6.0.trx 2405✅ 42⚪ 1416s
./temp/test-results/ubuntu/results-net8.0.trx 2394✅ 2❌ 42⚪ 1478s
./temp/test-results/windows/results-net462.trx 2373✅ 42⚪ 1469s
./temp/test-results/windows/results-net48.trx 2373✅ 42⚪ 1463s
./temp/test-results/windows/results-net6.0.trx 2404✅ 1❌ 42⚪ 1518s
./temp/test-results/windows/results-net8.0.trx 2396✅ 42⚪ 1541s

✅ ./temp/test-results/ubuntu/results-net6.0.trx

2447 tests were completed in 1416s with 2405 passed, 0 failed and 42 skipped.

❌ ./temp/test-results/ubuntu/results-net8.0.trx

2438 tests were completed in 1478s with 2394 passed, 2 failed and 42 skipped.

Test suite Passed Failed Skipped Time
Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests 3✅ 2❌ 75s

❌ Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests

✅ net8.0.Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests.TestClientCollectsClusterEvents(AllMembers)
✅ net8.0.Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests.TestClientCollectsClusterEvents(MultiMember)
✅ net8.0.Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests.TestClientCollectsClusterEvents(SingleMember)
❌ net8.0.Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests.TestMultiMemberRoutingConnectsNextGroupWhenDisconnected(PartitionGroups)
❌ net8.0.Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests.TestMultiMemberRoutingWorks(PartitionGroups)
	  Expected: 3
	  But was:  5
	

✅ ./temp/test-results/windows/results-net462.trx

2415 tests were completed in 1469s with 2373 passed, 0 failed and 42 skipped.

✅ ./temp/test-results/windows/results-net48.trx

2415 tests were completed in 1463s with 2373 passed, 0 failed and 42 skipped.

❌ ./temp/test-results/windows/results-net6.0.trx

2447 tests were completed in 1518s with 2404 passed, 1 failed and 42 skipped.

Test suite Passed Failed Skipped Time
Hazelcast.Tests.Remote.ClientReliableTopicTests 17✅ 1❌ 105s

❌ Hazelcast.Tests.Remote.ClientReliableTopicTests

✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestClusterRestartAfterInvocationTimeOut
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestClusterRestartWhenNotLossTolerant
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestClusterRestartWhenSubscribed
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopic(Block)
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopic(DiscardNewest)
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopic(DiscardOldest)
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopic(Error)
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicBlocking
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicEventArguments
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicExceptionEvent
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicSubscribeReceiveEventsOnlyAfter
❌ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicUnderStress
	System.Exception : Action is still failing after 60000ms.
	  ----> NUnit.Framework.AssertionException :   Expected: 102168
	  But was:  102167
	
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicWhenNoSpaceOnBlock
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicWhenNoSpaceOnDiscardNewest
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicWhenNoSpaceOnDiscardOldest
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicWhenNoSpaceOnError
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicWithNullParams
✅ net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestSubscriberLivesWhenClientOffline

✅ ./temp/test-results/windows/results-net8.0.trx

2438 tests were completed in 1541s with 2396 passed, 0 failed and 42 skipped.

Annotations

Check failure on line 61 in src/Hazelcast.Net.Tests/Clustering/MemberPartitionGroupServerTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests ► net8.0.Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests.TestMultiMemberRoutingWorks(PartitionGroups)

Failed test found in:
  ./temp/test-results/ubuntu/results-net8.0.trx
Error:
    Expected: 3
    But was:  5
  
Raw output
  Expected: 3
  But was:  5

   at Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests.TestMultiMemberRoutingWorks(RoutingStrategy routingStrategy) in /home/runner/work/hazelcast-csharp-client/hazelcast-csharp-client/src/Hazelcast.Net.Tests/Clustering/MemberPartitionGroupServerTests.cs:line 61
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

1)    at Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests.TestMultiMemberRoutingWorks(RoutingStrategy routingStrategy) in /home/runner/work/hazelcast-csharp-client/hazelcast-csharp-client/src/Hazelcast.Net.Tests/Clustering/MemberPartitionGroupServerTests.cs:line 61
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Hazelcast.Tests.Clustering.MemberPartitionGroupServerTests.TestMultiMemberRoutingWorks(RoutingStrategy routingStrategy)

Check failure on line 0 in ./temp/test-results/windows/results-net6.0.trx

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hazelcast.Tests.Remote.ClientReliableTopicTests ► net6.0.Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicUnderStress

Failed test found in:
  ./temp/test-results/windows/results-net6.0.trx
Error:
  System.Exception : Action is still failing after 60000ms.
    ----> NUnit.Framework.AssertionException :   Expected: 102168
    But was:  102167
  
Raw output
System.Exception : Action is still failing after 60000ms.
  ----> NUnit.Framework.AssertionException :   Expected: 102168
  But was:  102167

   at Hazelcast.Testing.AssertEx.SucceedsEventually(Action action, Int32 delayMilliseconds, Int32 pollingMilliseconds, String message) in D:\a\hazelcast-csharp-client\hazelcast-csharp-client\src\Hazelcast.Net.Testing\AssertEx.cs:line 60
   at Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicUnderStress() in D:\a\hazelcast-csharp-client\hazelcast-csharp-client\src\Hazelcast.Net.Tests\Remote\ClientReliableTopicTests.cs:line 818
   at Hazelcast.Tests.Remote.ClientReliableTopicTests.TestReliableTopicUnderStress() in D:\a\hazelcast-csharp-client\hazelcast-csharp-client\src\Hazelcast.Net.Tests\Remote\ClientReliableTopicTests.cs:line 830
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
--AssertionException
   at NUnit.Framework.Assert.ReportFailure(String message)
   at NUnit.Framework.Assert.ReportFailure(ConstraintResult result, String message, Object[] args)
   at NUnit.Framework.Assert.That[TActual](TActual actual, IResolveConstraint expression, String message, Object[] args)
   at NUnit.Framework.Assert.AreEqual(Object expected, Object actual)
   at Hazelcast.Tests.Remote.ClientReliableTopicTests.<>c__DisplayClass19_0.<TestReliableTopicUnderStress>b__4() in D:\a\hazelcast-csharp-client\hazelcast-csharp-client\src\Hazelcast.Net.Tests\Remote\ClientReliableTopicTests.cs:line 821
   at Hazelcast.Testing.AssertEx.SucceedsEventually(Action action, Int32 delayMilliseconds, Int32 pollingMilliseconds, String message) in D:\a\hazelcast-csharp-client\hazelcast-csharp-client\src\Hazelcast.Net.Testing\AssertEx.cs:line 45