[TEST] Fix incorrect message in DiskThresholdDeciderTests

This commit is contained in:
Lee Hinman 2015-06-01 15:45:26 -06:00
parent bc179a735b
commit a4e0ecc172
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}