Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set txn trace default to disable #182

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/merge-trigger-tke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: MO Checkin Regression On TKE

on:
workflow_call:
inputs:
enable-txn-trace:
description: "enable txn trace"
type: boolean
required: false
default: false
secrets:
TCR_USERNAME:
description: 'TCR_USERNAME'
Expand All @@ -21,7 +27,6 @@ on:
TOKEN_ACTION:
description: 'TOKEN_ACTION'
required: true


jobs:
docker_image_build:
Expand Down Expand Up @@ -152,6 +157,7 @@ jobs:
echo "cn_ips is $cn_ips"
echo "cn_ips=$cn_ips" >> $GITHUB_OUTPUT;
- name: Add TXN Filter
if: ${{ inputs.enable-txn-trace }}
run: |
export MYSQL_PWD=111;
for i in {1..300}; do
Expand Down Expand Up @@ -325,6 +331,7 @@ jobs:
echo "ssb_tpch_password=111" >> $GITHUB_OUTPUT

- name: Enable CN TXN Trace
if: ${{ inputs.enable-txn-trace }}
timeout-minutes: 2
run: |
export MYSQL_PWD='111'
Expand Down Expand Up @@ -548,6 +555,7 @@ jobs:
sleep 10

- name: Enable CN TXN Trace
if: ${{ inputs.enable-txn-trace }}
timeout-minutes: 2
run: |
export MYSQL_PWD='111'
Expand Down Expand Up @@ -682,6 +690,7 @@ jobs:
./load.sh -u ${{ steps.account_for_tpcc.outputs.tpcc_account }} -p ${{ steps.account_for_tpcc.outputs.tpcc_password }} -h ${{ needs.setup_mo_test_env.outputs.mo_svc_ip }} -c cases/02_from_cos/tpcc_50 -r -m | tee report/mo-load-data-tpcc.log

- name: Enable CN TXN Trace
if: ${{ inputs.enable-txn-trace }}
timeout-minutes: 2
run: |
export MYSQL_PWD='111'
Expand Down