Add test case about enum config init.
This commit is contained in:
parent
388d2481a0
commit
f8b624c3ce
|
|
@ -3,6 +3,8 @@ package com.a.eye.skywalking.api.conf;
|
|||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import static com.a.eye.skywalking.api.logging.LogLevel.INFO;
|
||||
|
||||
/**
|
||||
* @author wusheng
|
||||
*/
|
||||
|
|
@ -20,5 +22,6 @@ public class SnifferConfigInitializerTest {
|
|||
Assert.assertNotNull(Config.Logging.FILE_NAME);
|
||||
Assert.assertNotNull(Config.Logging.MAX_FILE_SIZE);
|
||||
Assert.assertNotNull(Config.Logging.FILE_NAME);
|
||||
Assert.assertEquals(INFO, Config.Logging.LEVEL);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
agent.application_code = crmApp
|
||||
collector.servers = 127.0.0.1:8080
|
||||
logging.level=info
|
||||
|
|
|
|||
Loading…
Reference in New Issue