Add mirror_promotion test for failover and back
The test uses \retcode to ignore the output of the external script, but remember the return code in the expected result. It's very useful for this scenario to ensure, we don't care for the details of the recoveryfull operation, but we do care this operation complete successfully. The test stop the primary and trigger failover to its mirror, then fail back to the original segment configuration. At the end of the test, the gp_segment_configuration is the same as the beginning of the test. Author: Xin Zhang <xzhang@pivotal.io> Author: Jacob Champion <pchampion@pivotal.io> Author: Ashwin Agrawal <aagrawal@pivotal.io>
Showing
想要评论请 注册 或 登录