Skip to content

Commit

Permalink
fix(lambda): set plugin path to plugin folder and test data folder (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobridge authored Aug 6, 2024
1 parent 65dd538 commit 4f6f322
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ async function execArtillery(options) {
const ARTILLERY_PATH =
ARTILLERY_BINARY_PATH || `${ARTILLERY_NODE_MODULES}/artillery/bin/run`;

env.ARTILLERY_PLUGIN_PATH = TEST_DATA_NODE_MODULES;
// Set the plugin path to the legacy SQS plugin as well as to user's test data for third party plugins
env.ARTILLERY_PLUGIN_PATH = `${TEST_DATA_NODE_MODULES}:${ARTILLERY_NODE_MODULES}/artillery/lib/platform/aws-ecs/legacy/plugins`;
env.HOME = '/tmp';
env.NODE_PATH = ['/artillery/node_modules', TEST_DATA_NODE_MODULES].join(
path.delimiter
Expand Down

0 comments on commit 4f6f322

Please sign in to comment.