Add test case for txn try

This commit is contained in:
James Rouzier
2017-10-25 20:56:12 -04:00
parent 2f1f4b19a0
commit 088e811da4
5 changed files with 56 additions and 1 deletions

View File

@@ -29,6 +29,8 @@ const char *testcase2str(const actor_testcase testcase) {
return "deadwrite";
case ac_jitter:
return "jitter";
case ac_try:
return "try";
}
}
@@ -443,6 +445,9 @@ bool test_execute(const actor_config &config) {
case ac_jitter:
test.reset(new testcase_jitter(config, pid));
break;
case ac_try:
test.reset(new testcase_try(config, pid));
break;
default:
test.reset(new testcase(config, pid));
break;