Replace gpfaultinject binary with gp_inject_fault extension in tests.
This replaces all places in regression tests, where the gpfaultinject binary was used, with the SQL-callable function in the new gp_inject_fault extension. The SQL function is more forgivin about the dev environemnt, and doesn't need gpfaultinject to be in $PATH, for starters. Also, it's just good to harmonize and have just one way of injecting faults. More uses of gpfaultinject remain in the TINC tests, so we cannot get rid of it any time soon, but this is a step in that direction, anyway.
Showing
想要评论请 注册 或 登录