From c3e737965ff277deac77dfcae03ebf512b487681 Mon Sep 17 00:00:00 2001 From: Jason Fulghum Date: Tue, 21 Jan 2025 11:31:16 -0800 Subject: [PATCH] Debugging changes to see why BATS tests are failing --- .github/workflows/ci-bats-macos.yaml | 9 ++++++--- integration-tests/bats/caching_sha2_password.bats | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-bats-macos.yaml b/.github/workflows/ci-bats-macos.yaml index bd1846fc582..70c30e1e07c 100644 --- a/.github/workflows/ci-bats-macos.yaml +++ b/.github/workflows/ci-bats-macos.yaml @@ -1,9 +1,12 @@ name: Test Bats MacOS +# NOTE: Change this (temporarily) to run on every pull request on: - workflow_dispatch: - schedule: - - cron: '0 1 * * *' + pull_request: + branches: [ main ] + paths: + - 'go/**' + - 'integration-tests/**' concurrency: group: ci-bats-mac-nightly diff --git a/integration-tests/bats/caching_sha2_password.bats b/integration-tests/bats/caching_sha2_password.bats index fb852afa5aa..654dea33691 100644 --- a/integration-tests/bats/caching_sha2_password.bats +++ b/integration-tests/bats/caching_sha2_password.bats @@ -53,6 +53,7 @@ EOF # Invalid account run mysql -uinvalid --port $PORT --protocol TCP --default-auth=caching_sha2_password -pwrong + echo "OUTPUT: $output" [ "$status" -ne 0 ] [[ "$output" =~ "No authentication methods available for authentication" ]] || false }