1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Improve test coverage for config.

This commit is contained in:
winlin 2020-01-01 17:15:21 +08:00
parent 0fd0114ee6
commit 4848d3ab91

View file

@ -3147,7 +3147,7 @@ VOID TEST(ConfigMainTest, CheckVhostConfig3)
if (true) {
MockSrsConfig conf;
HELPER_ASSERT_SUCCESS(conf.parse(_MIN_OK_CONF "vhost ossrs.net{bandcheck{interval 10;}}"));
EXPECT_EQ(10000, conf.get_bw_check_interval("ossrs.net"));
EXPECT_EQ(10000000, conf.get_bw_check_interval("ossrs.net"));
}
if (true) {