Fix logger defaults test
This commit fixes the test EvilLoggerConfigurationTests#testDefaults.
This commit is contained in:
parent
81e4cdfbc0
commit
482f00f93c
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue