Skip to content

Commit a4e0ecc

Browse files
committed
[TEST] Fix incorrect message in DiskThresholdDeciderTests
1 parent bc179a7 commit a4e0ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/elasticsearch/cluster/routing/allocation/decider/DiskThresholdDeciderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ public void addListener(Listener listener) {
786786
fail("should not have been able to reroute the shard");
787787
} catch (IllegalArgumentException e) {
788788
assertThat("can't allocated because there isn't enough room: " + e.getMessage(),
789-
e.getMessage().contains("less than required [30.0%] free disk on node, free: [26.0%]"), equalTo(true));
789+
e.getMessage().contains("more than allowed [70.0%] used disk on node, free: [26.0%]"), equalTo(true));
790790
}
791791

792792
}

0 commit comments

Comments
 (0)