Fix logger defaults test

This commit fixes the test EvilLoggerConfigurationTests#testDefaults.
This commit is contained in:
Jason Tedor 2016-09-13 17:25:23 -04:00
parent 81e4cdfbc0
commit 482f00f93c
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class EvilLoggerConfigurationTests extends ESTestCase {
public void testDefaults() throws IOException {
final Path configDir = getDataPath("config");
final String level = randomFrom(Level.values()).toString();
final String level = randomFrom(Level.TRACE, Level.DEBUG, Level.INFO, Level.WARN, Level.ERROR).toString();
final Settings settings = Settings.builder()
.put(Environment.PATH_CONF_SETTING.getKey(), configDir.toAbsolutePath())
.put(Environment.PATH_HOME_SETTING.getKey(), createTempDir().toString())