@nsshunt/ststestrunner 1.1.116 → 1.1.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1001,12 +1001,12 @@ var TestCaseFhirBase = class {
1001
1001
  }
1002
1002
  ResetClient = () => {};
1003
1003
  GetRandomSequenceFromIteration = () => {
1004
- if (this.runner.iteration === 1) {
1004
+ if (this.runner.iteration === 0) {
1005
1005
  const { workerIndex, runnerIndex } = this.#runner.options;
1006
1006
  const seedId = `seed-${workerIndex}-${runnerIndex}`;
1007
1007
  this.randomSequence = getRandomIterationOrder(this.runner.options.executionProfile.iterations, seedId);
1008
1008
  }
1009
- return this.randomSequence[this.runner.iteration - 1];
1009
+ return this.randomSequence[this.runner.iteration];
1010
1010
  };
1011
1011
  Error = (message) => {
1012
1012
  this.#runnerExecutionWorker.logger.error(message);