[client-test] more robust MinReplicationFactor scenario

This patch updates the ReplicationFactorLimitsTest.MinReplicationFactor
test scenario to make it more robust.  With this update, test failures
like below shouldn't happen anymore:

  src/kudu/client/client-test.cc:8722: Failure
  Value of: s.ToString()
  Expected: has substring "not enough live tablet servers to create a table with the requested replication factor 3; 1 tablet servers are alive"
    Actual: "Invalid argument: Error creating table foobar on the master: not enough live tablet servers to create a table with the requested replication factor 3; 0 tablet servers are alive"

Change-Id: I509f04067f28be566f655050f1b29f38654df24b
Reviewed-on: http://gerrit.cloudera.org:8080/18719
Reviewed-by: Mahesh Reddy <mreddy@cloudera.com>
Tested-by: Kudu Jenkins
Reviewed-by: Yingchun Lai <acelyc1112009@gmail.com>
1 file changed