summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/bench/workgen/runner/insert_stress.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/bench/workgen/runner/insert_stress.py')
-rw-r--r--src/third_party/wiredtiger/bench/workgen/runner/insert_stress.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/bench/workgen/runner/insert_stress.py b/src/third_party/wiredtiger/bench/workgen/runner/insert_stress.py
index 36c5871626a..f40ae08e005 100644
--- a/src/third_party/wiredtiger/bench/workgen/runner/insert_stress.py
+++ b/src/third_party/wiredtiger/bench/workgen/runner/insert_stress.py
@@ -48,7 +48,8 @@ op = Operation(Operation.OP_INSERT, table)
thread = Thread(op * 500)
pop_workload = Workload(context, thread)
print('populate:')
-pop_workload.run(conn)
+ret = pop_workload.run(conn)
+assert ret == 0, ret
op = Operation(Operation.OP_INSERT, table, Key(Key.KEYGEN_UNIFORM, 10), Value(130 * 1024))
op2 = Operation(Operation.OP_INSERT, table, Key(Key.KEYGEN_UNIFORM, 10), Value(100))
@@ -63,4 +64,5 @@ workload = Workload(context, t * 8 + read_thread)
workload.options.run_time = 240
workload.options.report_interval = 5
print('workload:')
-workload.run(conn)
+ret = workload.run(conn)
+assert ret == 0, ret