diff --git a/metricflow/test/generate_snapshots.py b/metricflow/test/generate_snapshots.py index 38eb97d3d7..981d0d1eaf 100644 --- a/metricflow/test/generate_snapshots.py +++ b/metricflow/test/generate_snapshots.py @@ -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"