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

refactor(test): move backwards compat test and slow tests into e2e_test folder #17190

Merged
merged 2 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,7 @@ UPDATE_EXPECT=1 cargo test -p risingwave_connector tests::test_with_options_yaml
[tasks.backwards-compat-test]
category = "RiseDev - Test - Backwards Compatibility Test"
description = "Run backwards compatibility test"
script = "./backwards-compat-tests/scripts/run_local.sh"
script = "./e2e_test/backwards-compat-tests/scripts/run_local.sh"

# For debugging.
# To show the env for a specific task, use `run_task = "show-env"` for that task.
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/backwards-compat-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ else
exit 1
fi

source backwards-compat-tests/scripts/utils.sh
source e2e_test/backwards-compat-tests/scripts/utils.sh

################################### Main

Expand Down
4 changes: 2 additions & 2 deletions ci/scripts/slow-e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ echo "--- e2e, $mode, slow-udf-tests"
python3 -m pip install --break-system-packages arrow-udf==0.2.1
RUST_LOG="info" \
risedev ci-start "$mode"
sqllogictest -p 4566 -d dev './e2e_test_slow/udf/always_retry_python.slt'
sqllogictest -p 4566 -d dev './e2e_test_slow/backfill/rate_limit/slow-udf.slt'
sqllogictest -p 4566 -d dev './e2e_test/slow_tests/udf/always_retry_python.slt'
sqllogictest -p 4566 -d dev './e2e_test/slow_tests/backfill/rate_limit/slow-udf.slt'
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on_exit() {

trap on_exit EXIT

source backwards-compat-tests/scripts/utils.sh
source e2e_test/backwards-compat-tests/scripts/utils.sh

configure_rw() {
VERSION="$1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
RECOVERY_DURATION=20

# Setup test directory
TEST_DIR=.risingwave/backwards-compat-tests/
TEST_DIR=.risingwave/e2e_test/backwards-compat-tests/
mkdir -p $TEST_DIR
cp -r backwards-compat-tests/slt/* $TEST_DIR
cp -r e2e_test/backwards-compat-tests/slt/* $TEST_DIR

wait_for_process() {
process_name="$1"
Expand Down
Loading