New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert staleJoinPreventionDuration to not static field #19623
Convert staleJoinPreventionDuration to not static field #19623
Conversation
We need to override this property in the EE side tests. We cannot achieve this when it's static.
The job Click to expand the log file-------------------------- ---------SUMMARY---------- -------------------------- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 2 errors reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_3/checkstyle/checkstyle.xml ruleset. -> [Help 1] -------------------------- ---------ERRORS----------- -------------------------- [ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_3/hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/ClusterJoinManager.java:134: Line is longer than 130 characters (found 133). [LineLength] -------------------------- [ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_3/hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/ClusterJoinManager.java:134:129: '30' is a magic number. [MagicNumber] -------------------------- |
hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/ClusterJoinManager.java
Outdated
Show resolved
Hide resolved
…usterJoinManager.java Co-authored-by: Vassilis Bekiaris <vbekiaris@gmail.com>
The job Click to expand the log file-------------------------- ---------SUMMARY---------- -------------------------- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 2 errors reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/checkstyle/checkstyle.xml ruleset. -> [Help 1] -------------------------- ---------ERRORS----------- -------------------------- [ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/ClusterJoinManager.java:134: Line is longer than 130 characters (found 133). [LineLength] -------------------------- [ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/ClusterJoinManager.java:134:129: '30' is a magic number. [MagicNumber] -------------------------- |
run-lab-run |
Can one of the admins verify this patch? |
2 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
We need to override this property in the EE side tests. We cannot
achieve this when it's static.
It's prerequisite for solving https://github.com/hazelcast/hazelcast-mono/issues/1592
EE PR: https://github.com/hazelcast/hazelcast-enterprise/pull/4318
Checklist:
Team:
,Type:
,Source:
,Module:
) and Milestone set