@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.
@@ -1006,12 +1006,12 @@ var TestCaseFhirBase = class {
1006
1006
  }
1007
1007
  ResetClient = () => {};
1008
1008
  GetRandomSequenceFromIteration = () => {
1009
- if (this.runner.iteration === 1) {
1009
+ if (this.runner.iteration === 0) {
1010
1010
  const { workerIndex, runnerIndex } = this.#runner.options;
1011
1011
  const seedId = `seed-${workerIndex}-${runnerIndex}`;
1012
1012
  this.randomSequence = getRandomIterationOrder(this.runner.options.executionProfile.iterations, seedId);
1013
1013
  }
1014
- return this.randomSequence[this.runner.iteration - 1];
1014
+ return this.randomSequence[this.runner.iteration];
1015
1015
  };
1016
1016
  Error = (message) => {
1017
1017
  this.#runnerExecutionWorker.logger.error(message);