Skip to content

Commit

Permalink
Don't use persistent source schema for Trino since it's run locally.
Browse files Browse the repository at this point in the history
  • Loading branch information
plypaul committed Jan 13, 2024
1 parent 6518a76 commit b62517e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricflow/test/generate_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def run_tests(test_configuration: MetricFlowTestConfiguration) -> None: # noqa:
engine_name = test_configuration.engine.value.lower()
os.environ["MF_TEST_ADAPTER_TYPE"] = engine_name
hatch_env = f"{engine_name}-env"
use_persistent_source_schema = test_configuration.engine != SqlEngine.POSTGRES
use_persistent_source_schema = test_configuration.engine not in {SqlEngine.POSTGRES, SqlEngine.TRINO}
run_command(
f"hatch -v run {hatch_env}:pytest -x -vv -n 4 "
f"--overwrite-snapshots"
Expand Down

0 comments on commit b62517e

Please sign in to comment.