Skip to content

Commit

Permalink
Add null check & update server version (#1519)
Browse files Browse the repository at this point in the history
  • Loading branch information
srknzl authored Mar 5, 2024
1 parent 6e45fb7 commit 594a8e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/download-rc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
const HZ_VERSION = '5.2.4';
const HZ_TEST_VERSION = '5.2.4';
const HZ_VERSION = '5.4.0-SNAPSHOT';
const HZ_TEST_VERSION = '5.4.0-SNAPSHOT';
const HAZELCAST_TEST_VERSION = HZ_TEST_VERSION;
const HAZELCAST_VERSION = HZ_VERSION;
const HAZELCAST_ENTERPRISE_VERSION = HZ_VERSION;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ describe('MapLockTest', function () {
while (attempt++ < MAX_ATTEMPTS) {
for (let i = 0; i < DEFAULT_PARTITION_COUNT; i++) {
const uuid = partitionService.getPartitionOwner(i);
if (uuid === null || uuid === undefined) {
continue;
}
if (uuid.toString() === member.uuid) {
return;
}
Expand Down

0 comments on commit 594a8e4

Please sign in to comment.