test: update function after_check_master_repl for network test case.