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:
parent
0fd0114ee6
commit
4848d3ab91
1 changed files with 1 additions and 1 deletions
|
@ -3147,7 +3147,7 @@ VOID TEST(ConfigMainTest, CheckVhostConfig3)
|
||||||
if (true) {
|
if (true) {
|
||||||
MockSrsConfig conf;
|
MockSrsConfig conf;
|
||||||
HELPER_ASSERT_SUCCESS(conf.parse(_MIN_OK_CONF "vhost ossrs.net{bandcheck{interval 10;}}"));
|
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) {
|
if (true) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue