diff --git a/jstests/concurrency/fsm_libs/runner.js b/jstests/concurrency/fsm_libs/runner.js
|
index 4d0cea5..2198097 100644
|
--- a/jstests/concurrency/fsm_libs/runner.js
|
+++ b/jstests/concurrency/fsm_libs/runner.js
|
@@ -600,6 +600,14 @@ var runner = (function() {
|
bgThreadMgr.checkFailed(0);
|
|
var schedule = scheduleWorkloads(workloads, executionMode, executionOptions);
|
+ schedule = [
|
+ [
|
+ "jstests/concurrency/fsm_workloads/noop.js",
|
+ ],
|
+ [
|
+ "jstests/concurrency/fsm_workloads/noop.js",
|
+ ],
|
+ ];
|
printWorkloadSchedule(schedule, bgWorkloads);
|
|
schedule.forEach(function(workloads) {
|
diff --git a/jstests/concurrency/fsm_workloads/noop.js b/jstests/concurrency/fsm_workloads/noop.js
|
new file mode 100644
|
index 0000000..131fad7
|
--- /dev/null
|
+++ b/jstests/concurrency/fsm_workloads/noop.js
|
@@ -0,0 +1,26 @@
|
+'use strict';
|
+
|
+var $config = (function() {
|
+
|
+ var states = { noop: function noop(db, collName) {} };
|
+ var transitions = { noop: { noop: 1 } };
|
+
|
+ function setup(db, collName, cluster) {
|
+ assertAlways.eq(0, this.counter,
|
+ '"counter" property on $config.data was not initially zero');
|
+ this.counter++;
|
+ }
|
+
|
+ return {
|
+ threadCount: 1,
|
+ iterations: 10,
|
+ startState: 'noop',
|
+ states: states,
|
+ transitions: transitions,
|
+ data: {
|
+ counter: 0
|
+ },
|
+ setup: setup
|
+ };
|
+
|
+})();
|