We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 095f377 commit 484d85fCopy full SHA for 484d85f
server/src/test/java/org/elasticsearch/health/node/HealthInfoTests.java
@@ -86,7 +86,7 @@ public static RepositoriesHealthInfo randomRepoHealthInfo() {
86
}
87
88
private static FileSettingsHealthInfo mutateFileSettingsHealthInfo(FileSettingsHealthInfo original) {
89
- long changeCount = randomValueOtherThan(original.changeCount(), ESTestCase::randomLong);
+ long changeCount = randomValueOtherThan(original.changeCount(), ESTestCase::randomNonNegativeLong);
90
long failureStreak = randomLongBetween(0, changeCount);
91
String mostRecentFailure;
92
if (failureStreak == 0) {
0 commit comments