Skip to content

test(snapshot-export): Fix the test script #665

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

Merged
merged 1 commit into from
May 28, 2025
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
17 changes: 8 additions & 9 deletions tests/templates/kuttl/snapshot-export/30_test-export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
# shellcheck disable=SC2034
set -euxo pipefail

export \
AWS_ACCESS_KEY_ID=hbaseAccessKey \
# Used by AWS bundle 1.12.367 via Hadoop 3.3.6
AWS_SECRET_KEY=hbaseSecretKey \
# Used by AWS bundle 2.24.6 via Hadoop 3.4.1
AWS_SECRET_ACCESS_KEY=hbaseSecretKey \
AWS_ENDPOINT=http://minio:9000/ \
AWS_SSL_ENABLED=false \
AWS_PATH_STYLE_ACCESS=true
export AWS_ACCESS_KEY_ID=hbaseAccessKey
# Used by AWS bundle 1.12.367 via Hadoop 3.3.6
export AWS_SECRET_KEY=hbaseSecretKey
# Used by AWS bundle 2.24.6 via Hadoop 3.4.1
export AWS_SECRET_ACCESS_KEY=hbaseSecretKey
export AWS_ENDPOINT=http://minio:9000/
export AWS_SSL_ENABLED=false
export AWS_PATH_STYLE_ACCESS=true

# Create local snapshot
hbase shell create-snapshot.hbase 2>&1 | \
Expand Down