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

Change subject: [tests] enable using txns in TestWorkload
......................................................................

[tests] enable using txns in TestWorkload

I have an upcoming test in which it'd convenient to have an easy means
to generate a transactional workload. This patch introduces some options
to the TestWorkload class that satisfy this need:
- set_begin_txn()
- set_commit_txn()
- set_rollback_txn()
- set_txn_id(int64_t txn_id)

Change-Id: Ia81daac8fcfd552603a0302c3d9aa411ea082ab1
Reviewed-on: http://gerrit.cloudera.org:8080/17326
Reviewed-by: Alexey Serbin <[email protected]>
Tested-by: Alexey Serbin <[email protected]>
---
M src/kudu/integration-tests/test_workload.cc
M src/kudu/integration-tests/test_workload.h
M src/kudu/integration-tests/txn_write_ops-itest.cc
3 files changed, 251 insertions(+), 10 deletions(-)

Approvals:
  Alexey Serbin: Looks good to me, approved; Verified

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia81daac8fcfd552603a0302c3d9aa411ea082ab1
Gerrit-Change-Number: 17326
Gerrit-PatchSet: 6
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to