Skip to content

Commit

Permalink
bumping HC to 3.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Needham committed Aug 12, 2016
1 parent f472221 commit abc65a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion enterprise/core-edge/pom.xml
Expand Up @@ -78,7 +78,7 @@
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast-all</artifactId>
<version>3.5.1</version>
<version>3.6.4</version>
<exclusions>
<exclusion>
<groupId>net.sourceforge.findbugs</groupId>
Expand Down
Expand Up @@ -248,12 +248,6 @@ public HazelcastSet( )
this.delegate = new HashSet<>( );
}

@Override
public Object getId()
{
throw new IllegalStateException();
}

@Override
public String getPartitionKey()
{
Expand Down
Expand Up @@ -116,7 +116,7 @@ public void shouldStoreMemberIdentityAndAddressesAsMemberAttributes() throws Exc

// when
Map<String, Object> attributes = buildMemberAttributes( memberId, config ).getAttributes();
Pair<MemberId, CoreAddresses> extracted = extractMemberAttributes( new MemberImpl( null, null, attributes ) );
Pair<MemberId, CoreAddresses> extracted = extractMemberAttributes( new MemberImpl( null, null, attributes, false ) );

// then
assertEquals( memberId, extracted.first() );
Expand All @@ -142,8 +142,9 @@ public void shouldCollectMembersAsAMap() throws Exception
settings.put( CoreEdgeClusterSettings.raft_advertised_address.name(), "raft:" + (i + 1) );
settings.put( GraphDatabaseSettings.bolt_advertised_address.name(), "bolt:" + (i + 1) );
config.augment( settings );
Map<String, Object> attributes = buildMemberAttributes( memberId, config ).getAttributes();
hazelcastMembers.add( new MemberImpl( new Address( "localhost", i ), null,
buildMemberAttributes( memberId, config ).getAttributes() ) );
attributes, false ) );
}

// when
Expand Down Expand Up @@ -175,7 +176,7 @@ public void shouldLogAndExcludeMembersWithMissingAttributes() throws Exception
{
attributes.remove( HazelcastClusterTopology.RAFT_SERVER );
}
hazelcastMembers.add( new MemberImpl( new Address( "localhost", i ), null, attributes ) );
hazelcastMembers.add( new MemberImpl( new Address( "localhost", i ), null, attributes, false ) );
}
// when
Map<MemberId, CoreAddresses> map =
Expand Down

0 comments on commit abc65a0

Please sign in to comment.