Fix failure of test_handler_cluster_replication