Andrew Wong has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/8387 )

Change subject: disk failure: randomized tserver test
......................................................................

disk failure: randomized tserver test

This patch adds a test that tests various paths that perform block IO by
manually applying randomized operations to a tablet and injecting disk
failures a fraction of the time. Eventually, the replica is marked as
failed, completing the test. This patch doesn't test the behavior after
reaching this failed state, but rather ensures this state is reachable
without crashing the server.

Change-Id: I17aca35fc0bf9c7b1b73308def865b0ed48d07fa
Reviewed-on: http://gerrit.cloudera.org:8080/8387
Reviewed-by: Mike Percy <[email protected]>
Tested-by: Kudu Jenkins
---
M src/kudu/integration-tests/cluster_itest_util.cc
M src/kudu/integration-tests/cluster_itest_util.h
M src/kudu/tserver/tablet_server-test-base.h
M src/kudu/tserver/tablet_server-test.cc
M src/kudu/tserver/tablet_server_test_util.cc
M src/kudu/tserver/tablet_server_test_util.h
6 files changed, 142 insertions(+), 36 deletions(-)

Approvals:
  Mike Percy: Looks good to me, approved
  Kudu Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/8387
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I17aca35fc0bf9c7b1b73308def865b0ed48d07fa
Gerrit-Change-Number: 8387
Gerrit-PatchSet: 8
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to