Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/9126


Change subject: [tests] de-flaking DontEvictIfRemainingConfigIsUnstable
......................................................................

[tests] de-flaking DontEvictIfRemainingConfigIsUnstable

Tuned configuration of the test cluster to minimize chances of reporting
on failed tablet replicas 'one-by-one' instead of 'two-at-once' for the
DontEvictIfRemainingConfigIsUnstableITest-derived scenarios.  The
'one-by-one' reporting on failed replicas was the reason behind
flakiness in the following scenarios:

  * DontEvictIfRemainingConfigIsUnstableITest.NodesDown/{0,1}
  * DontEvictIfRemainingConfigIsUnstableITest.NodesStopped/{0,1}

That was because the logic of those test scenarios assumes 2 out of 3
replicas becoming unresponsive at once.  If only 1 out of 3 replicas
became unresponsive and reported as such, the re-replication logic
(both 3-2-3 and 3-4-3 schemes) tried to initiate replacement of the
failed replica.  That's completely legit since at the time of the single
replica failure report the majority of replicas was reported as being
online.

As an additional fix, the ASSERT_EVENTUALLY() wrapper is added for the
invocation of GetTabletToReplicaUUIDsMapping().  That's to guarantee
that all relevant tablet servers are included into the mapping being
built.

Change-Id: Icb23d71b600a46f7fd6bba56091f884eae24784f
---
M src/kudu/integration-tests/tablet_replacement-itest.cc
1 file changed, 30 insertions(+), 12 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/26/9126/1
--
To view, visit http://gerrit.cloudera.org:8080/9126
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb23d71b600a46f7fd6bba56091f884eae24784f
Gerrit-Change-Number: 9126
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to