use of io.mycat.config.model.UserConfig in project Mycat-Server by MyCATApache.
the class ConfigTest method testReadUserBenchmark.
/**
* 测试 用户服务降级 拒连 配置
*/
@Test
public void testReadUserBenchmark() {
UserConfig userConfig = this.users.get("test");
int benchmark = userConfig.getBenchmark();
Assert.assertTrue(benchmark == 11111);
}
Aggregations