Skip to content

Commit

Permalink
revert unrelated change
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan committed Apr 5, 2024
1 parent a3f3409 commit 0e3ace1
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ env_files = ["${PREFIX_CONFIG}/risedev-env"]
script = '''
#!/usr/bin/env bash
cat <<EOF > "${PREFIX_CONFIG}/psql-env"
export PGHOST=$RISEDEV_FRONTEND_LISTEN_ADDRESS
export PGPORT=$RISEDEV_FRONTEND_PORT
export PGHOST=$RW_FRONTEND_LISTEN_ADDRESS
export PGPORT=$RW_FRONTEND_PORT
export PGUSER=root
export PGDATABASE=dev
EOF
Expand All @@ -576,7 +576,7 @@ dependencies = ["check-risedev-env-file"]
env_files = ["${PREFIX_CONFIG}/risedev-env"]
script = '''
#!/usr/bin/env bash
psql -h $RISEDEV_FRONTEND_LISTEN_ADDRESS -p $RISEDEV_FRONTEND_PORT -U root -d dev "$@"
psql -h $RW_FRONTEND_LISTEN_ADDRESS -p $RW_FRONTEND_PORT -U root -d dev "$@"
'''

[tasks.ctl]
Expand Down Expand Up @@ -883,7 +883,7 @@ cargo build \
"""

[tasks.stest]
category = "RiseDev - Test - Deterministic Simulation"
category = "RiseDev - Deterministic Simulation"
description = "Run unit tests in deterministic simulation mode"
dependencies = ["install-nextest"]
env = { CARGO_TARGET_DIR = "target/sim" }
Expand All @@ -908,7 +908,7 @@ cargo nextest run \
"""

[tasks.sit-test]
category = "RiseDev - Test - Deterministic Simulation"
category = "RiseDev - Deterministic Simulation"
description = "Run integration tests in deterministic simulation mode"
dependencies = ["install-nextest"]
env = { CARGO_TARGET_DIR = "target/sim" }
Expand All @@ -923,7 +923,7 @@ cargo nextest run \
"""

[tasks.sarchive-it-test]
category = "RiseDev - Test - Deterministic Simulation"
category = "RiseDev - Deterministic Simulation"
description = "Archive integration tests in deterministic simulation mode"
dependencies = ["install-nextest"]
env = { CARGO_TARGET_DIR = "target/sim" }
Expand All @@ -939,7 +939,7 @@ cargo nextest archive \
"""

[tasks.scheck]
category = "RiseDev - Test - Deterministic Simulation"
category = "RiseDev - Deterministic Simulation"
description = "Run cargo check in deterministic simulation mode"
dependencies = ["warn-on-missing-tools"]
env = { CARGO_TARGET_DIR = "target/sim" }
Expand All @@ -964,7 +964,7 @@ cargo check \
"""

[tasks.sslt]
category = "RiseDev - Test - Deterministic Simulation"
category = "RiseDev - Deterministic Simulation"
description = "Run e2e tests in deterministic simulation mode"
dependencies = ["warn-on-missing-tools"]
env = { CARGO_TARGET_DIR = "target/sim" }
Expand All @@ -978,7 +978,7 @@ cargo run \
"""

[tasks.sslt-build-all]
category = "RiseDev - Test - Deterministic Simulation"
category = "RiseDev - Deterministic Simulation"
description = "Build deterministic simulation runner and tests"
dependencies = ["warn-on-missing-tools"]
env = { CARGO_TARGET_DIR = "target/sim" }
Expand All @@ -993,7 +993,7 @@ cargo build \
"""

[tasks.sslt-cov]
category = "RiseDev - Test - Deterministic Simulation"
category = "RiseDev - Deterministic Simulation"
description = "Run e2e tests in deterministic simulation mode and report code coverage"
dependencies = ["install-llvm-cov"]
env = { CARGO_TARGET_DIR = "target/sim-cov" }
Expand Down Expand Up @@ -1290,42 +1290,42 @@ echo "All processes has exited."
"""

[tasks.slt]
category = "RiseDev - Test - SQLLogicTest"
category = "RiseDev - SQLLogicTest"
install_crate = { version = "0.19.1", crate_name = "sqllogictest-bin", binary = "sqllogictest", test_arg = [
"--help",
], install_command = "binstall" }
dependencies = ["check-risedev-env-file"]
env_files = ["${PREFIX_CONFIG}/risedev-env"]
env = { SLT_HOST = "${RISEDEV_FRONTEND_LISTEN_ADDRESS}", SLT_PORT = "${RISEDEV_FRONTEND_PORT}", SLT_DB = "dev" }
env = { SLT_HOST = "${RW_FRONTEND_LISTEN_ADDRESS}", SLT_PORT = "${RW_FRONTEND_PORT}", SLT_DB = "dev" }
command = "sqllogictest"
args = ["${@}"]
description = "🌟 Run SQLLogicTest"

[tasks.slt-streaming]
category = "RiseDev - Test - SQLLogicTest"
category = "RiseDev - SQLLogicTest"
extend = "slt"
args = ["${@}", "./e2e_test/streaming/**/*.slt"]
description = "Run all streaming e2e tests"

[tasks.slt-batch]
category = "RiseDev - Test - SQLLogicTest"
category = "RiseDev - SQLLogicTest"
extend = "slt"
args = ["${@}", "./e2e_test/batch/*.slt"]
description = "Run all batch e2e tests"

[tasks.slt-generated]
category = "RiseDev - Test - SQLLogicTest"
category = "RiseDev - SQLLogicTest"
extend = "slt"
args = ["${@}", "./e2e_test/generated/**/*.slt"]
description = "Run all generated e2e tests"

[tasks.slt-all]
category = "RiseDev - Test - SQLLogicTest"
category = "RiseDev - SQLLogicTest"
run_task = { name = ["slt-streaming", "slt-batch", "slt-generated"] }
description = "Run all e2e tests"

[tasks.docslt]
category = "RiseDev - Test - SQLLogicTest"
category = "RiseDev - SQLLogicTest"
description = "Extract SQL examples written in SQLLogicTest syntax from Rust doc comments"
script = '''
#!/usr/bin/env bash
Expand Down Expand Up @@ -1400,7 +1400,7 @@ UPDATE_EXPECT=1 cargo test -p risingwave_connector tests::test_with_options_yaml
'''

[tasks.backwards-compat-test]
category = "RiseDev - Test - Backwards Compatibility Test"
category = "RiseDev - Backwards Compatibility Test"
description = "Run backwards compatibility test"
script = "./backwards-compat-tests/scripts/run_local.sh"

Expand Down

0 comments on commit 0e3ace1

Please sign in to comment.