Skip to content

Commit

Permalink
Test - Workaround Windows named pipe bugs in MySQL.
Browse files Browse the repository at this point in the history
Also disable Windows ASAN - something bad happened, it can't run on CI
Reenable ASAN on Linux though
  • Loading branch information
vaintroub committed Feb 18, 2024
1 parent 5cbeb24 commit 81ba97b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cmake-single-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
test-asan:
runs-on: ${{ inputs.os }}
# Linux is excluded, due to buggy ASAN ubuntu
if: ${{ !contains(inputs.os,'ubuntu') }}
if: ${{ !contains(inputs.os,'windows') }}
name: test-asan
continue-on-error: true
steps:
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
#if: contains(inputs.os,'windows')
name: test-${{matrix.db}}
env:
COMMON_SYSBENCH_PARAMS: ${{ matrix.db == 'postgres' && '--db-driver=pgsql --pgsql-password=sbtest' || '--mysql-user=root --mysql-socket=/tmp/mysql.sock'}} --time=30 --table-size=1000000 --report-interval=1 --thread-init-timeout=60 --histogram
COMMON_SYSBENCH_PARAMS: ${{ matrix.db == 'postgres' && '--db-driver=pgsql --pgsql-password=sbtest' || '--mysql-user=root'}} --mysql-socket=${{ contains(inputs.os,'windows') && 'mysql.sock' || '/tmp/mysql.sock' }} --time=30 --table-size=1000000 --report-interval=1 --thread-init-timeout=300 --histogram

steps:
- name: Download build
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
max_allowed_packet=16MB
skip-log-bin
loose-enable-named-pipe
socket=/tmp/mysql.sock
socket=${{ runner.os == 'Windows' && 'mysql.sock' || '/tmp/mysql.sock' }}
max_connections=1000
innodb_max_dirty_pages_pct_lwm=10
Expand Down

0 comments on commit 81ba97b

Please sign in to comment.