mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
[TEST] Fix incorrect message in DiskThresholdDeciderTests
This commit is contained in:
parent
bc179a735b
commit
a4e0ecc172
@ -786,7 +786,7 @@ public class DiskThresholdDeciderTests extends ElasticsearchAllocationTestCase {
|
||||
fail("should not have been able to reroute the shard");
|
||||
} catch (IllegalArgumentException e) {
|
||||
assertThat("can't allocated because there isn't enough room: " + e.getMessage(),
|
||||
e.getMessage().contains("less than required [30.0%] free disk on node, free: [26.0%]"), equalTo(true));
|
||||
e.getMessage().contains("more than allowed [70.0%] used disk on node, free: [26.0%]"), equalTo(true));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user