HDFS-5168: fixing warning in a test replication policy