Open Hong-Chang opened 3 years ago
@phudtran this commit https://github.com/CentaurusInfra/mizar/commit/fcd97a0d162dda570a99b2abf92e3c71e646346d caused failure for: [ FAILED ] test_trn_cli_load_transit_subcmd [ FAILED ] test_trn_cli_load_agent_subcmd
In Mizar, to execute unit tests, the command is "make run_unittests".
In dev-next branch, after run "make run_unittests", gets following result: [ FAILED ] test_trn_cli_delete_agent_network_policy_protocol_port_subcmd [==========] 31 test(s) run. [ PASSED ] 21 test(s). [ FAILED ] 10 test(s), listed below: [ FAILED ] test_trn_cli_load_transit_subcmd [ FAILED ] test_trn_cli_load_agent_subcmd [ FAILED ] test_trn_cli_update_transit_network_policy_subcmd [ FAILED ] test_trn_cli_update_agent_network_policy_subcmd [ FAILED ] test_trn_cli_delete_transit_network_policy_subcmd [ FAILED ] test_trn_cli_delete_agent_network_policy_subcmd [ FAILED ] test_trn_cli_update_transit_network_policy_protocol_port_subcmd [ FAILED ] test_trn_cli_update_agent_network_policy_protocol_port_subcmd [ FAILED ] test_trn_cli_delete_transit_network_policy_protocol_port_subcmd [ FAILED ] test_trn_cli_delete_agent_network_policy_protocol_port_subcmd
10 FAILED TEST(S)
================================================================= ==931026==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 64 byte(s) in 1 object(s) allocated from:
0 0x55c7f9a90a65 in __interceptor_malloc (/home/ubuntu/go/src/k8s.io/mizar/build/tests/test_cli+0x24a65)
......
The tips to run single unit test: