hazelcast/hazelcast — pull request #4257 by Donnerbart (2014-12-09 09:14:25+00:00)
Title: Test client map entry listener on cluster change

This test ensures that EntryListener on a map don't get lost on cluster changes.

There is one client and an increasing/decreasing number of server instances. The clients puts the value 1 with a constantly increased key (1, 2, 3, ...) into the map. The partition owner listens on the entryAdded event and adds 1 to the event value. The client reacts on the entryUpdated event and checks if the event value is 2.

The test checks for the number of received entryAdded and entryUpdated events and if the values are correct.

These tests are failing most of the time (except testMapEntryListenersDuringMigrationSingleNode).