提交 d24b00c2 编写于 作者: J Jiangtao Hu 提交者: lianglia-apollo

control: fix test.

上级 c515cb3f
......@@ -45,7 +45,7 @@ TEST_F(ControlTest, Init) {
auto result = common::Status(
common::ErrorCode::CONTROL_INIT_ERROR,
"Unable to load control conf file: " + FLAGS_control_conf_file);
EXPECT_EQ(result, control_.Init());
EXPECT_DEATH(control_.Init(), "Unable to load control conf file");
FLAGS_control_conf_file = "modules/control/testdata/conf/lincoln.pb.txt";
EXPECT_DEATH(control_.Init(), "Unable to parse adapter config file " +
FLAGS_adapter_config_path);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册