diff --git a/src/test/github-positive-scenario.spec.ts b/src/test/github-positive-scenario.spec.ts index eebfe04..dcdd532 100644 --- a/src/test/github-positive-scenario.spec.ts +++ b/src/test/github-positive-scenario.spec.ts @@ -56,24 +56,13 @@ const commandsDataProvider: CommandDataProviderItem[] = [ }, { suitName: "[bench-bot] command", - commandLine: "testbot bench polkadot-pallet --runtime=kusama --pallet=pallet_referenda", + commandLine: "testbot bench polkadot-pallet --runtime=westend --pallet=pallet_referenda", taskId: 3, expected: { startMessage: - 'Preparing command ""$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=runtime --runtime=kusama --target_dir=polkadot --pallet=pallet_referenda". This comment will be updated later.', + 'Preparing command ""$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=westend --target_dir=polkadot --pallet=pallet_referenda". This comment will be updated later.', finishMessage: - '@somedev123 Command `"$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=runtime --runtime=kusama --target_dir=polkadot --pallet=pallet_referenda` has finished.', - }, - }, - { - suitName: "[try-runtime] command", - commandLine: "testbot try-runtime -v RUST_LOG=remote-ext=debug,runtime=trace --chain=kusama", - taskId: 4, - expected: { - startMessage: - 'Preparing command ""$PIPELINE_SCRIPTS_DIR/commands/try-runtime/try-runtime.sh" --chain=kusama --target_path=. --chain_node=polkadot', - finishMessage: - '@somedev123 Command `"$PIPELINE_SCRIPTS_DIR/commands/try-runtime/try-runtime.sh" --chain=kusama --target_path=. --chain_node=polkadot` has finished. Result: https://example.com/foo/bar/-/jobs/6 has finished. If any artifacts were generated, you can download them from https://example.com/foo/bar/-/jobs/6/artifacts/download.', + '@somedev123 Command `"$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=westend --target_dir=polkadot --pallet=pallet_referenda` has finished.', }, }, ]; diff --git a/src/test/setup/bot.ts b/src/test/setup/bot.ts index 70dd995..ea75f80 100644 --- a/src/test/setup/bot.ts +++ b/src/test/setup/bot.ts @@ -89,7 +89,7 @@ function getBotEnv( DATA_PATH: path.join(process.cwd(), "data"), PIPELINE_SCRIPTS_REPOSITORY: "https://github.com/paritytech/command-bot-scripts", - PIPELINE_SCRIPTS_REF: "monorepo", + PIPELINE_SCRIPTS_REF: "main", PRIVATE_KEY_BASE64: readFileSync(path.join(process.cwd(), "src", "test", "testing-app.txt"), "base64"),