commit | 8f09d27df4f0dc2cea90ec65ca3013ce8264ddea | [log] [tgz] |
---|---|---|
author | zhufl <zhu.fanglei@zte.com.cn> | Thu Dec 28 17:28:28 2017 +0800 |
committer | Jens Harbott (frickler) <j.harbott@x-ion.de> | Thu Jan 11 10:39:29 2018 +0000 |
tree | a1a605f47d0373d742f7292228a7b50f5ede8844 | |
parent | 5895ec110edc92ed62df4bac32a6e3118baca9c4 [diff] |
Do not select inactive l3 agent in L3AgentSchedulerTestJSON There may be some inactive l3 agents in the system, because the system won't delete l3 agent records that ever registered, even if they are no longer valid. So this is to choose only active l3 agent in resource_setup, otherwize the testcase will fail unexpectedly because we happened to choose an inactive l3 agent. Change-Id: Ie14cafc883c92e791ce866d548e166702bed3d0b