Skip to content

Commit

Permalink
fix(artillery): include index in phases emitted (#2204)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobridge authored Oct 12, 2023
1 parent ba9baf5 commit 5b52b4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/artillery/lib/launch-platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class Launcher {
const fullPhase = {
//get back original phase without any splitting for workers
...this.script.config.phases[message.phase.index],
index: message.phase.index,
id: message.phase.id,
startTime: this.phaseStartedEventsSeen[message.phase.index]
};
Expand All @@ -122,6 +123,7 @@ class Launcher {
//get back original phase without any splitting for workers
...this.script.config.phases[message.phase.index],
id: message.phase.id,
index: message.phase.index,
startTime: this.phaseStartedEventsSeen[message.phase.index],
endTime: message.phase.endTime
};
Expand Down

0 comments on commit 5b52b4d

Please sign in to comment.