MCPcopy Create free account
hub / github.com/Tencent/phxqueue / TestSchedulerConfig

Method TestSchedulerConfig

phxqueue/test/test_config.cpp:328–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328void TestConfig::TestSchedulerConfig(const config::SchedulerConfig *scheduler_config) {
329 comm::proto::Addr expected_addr;
330 expected_addr.set_ip("127.0.0.1");
331 expected_addr.set_port(6100);
332 expected_addr.set_paxos_port(0);
333
334 // GetAllScheduler
335 {
336 shared_ptr<const config::proto::Scheduler> scheduler;
337 assert(comm::RetCode::RET_OK == scheduler_config->GetScheduler(scheduler));
338 }
339}
340
341
342void TestConfig::TestLockConfig(const config::LockConfig *lock_config) {

Callers

nothing calls this directly

Calls 1

GetSchedulerMethod · 0.80

Tested by

no test coverage detected