Merge "Rewrite the HA test case (1)"