Skip to content

Commit

Permalink
restore testing setup
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Sep 25, 2024
1 parent 3a9d7ce commit d63cfdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ To run functional tests we rely on [dagger](https://dagger.io/). This launches a

```sh
pip install -r dagger/requirements.txt
python dagger/run_dbt_spark_tests.py --profile apache_spark --test-path tests/functional/adapter/incremental_strategies/test_microbatch.py
ython dagger/run_dbt_spark_tests.py --profile databricks_sql_endpoint --test-path tests/functional/adapter/test_basic.py::TestSimpleMaterializationsSpark::test_base

`--profile`: required, this is the kind of spark connection to test against

Expand Down
3 changes: 1 addition & 2 deletions dagger/run_dbt_spark_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ async def test_spark(test_args):

tst_container = tst_container.with_(env_variables(TESTING_ENV_VARS))
test_path = test_args.test_path if test_args.test_path else "tests/functional/adapter"
# TODO: remove before merging!
test_path = "tests/functional/adapter/incremental_strategies/test_microbatch.py"

result = await tst_container.with_exec(
["pytest", "-v", "--profile", test_profile, "-n", "auto", test_path]
).stdout()
Expand Down

0 comments on commit d63cfdf

Please sign in to comment.