Skip to content

Commit 6a024ea

Browse files
committed
Set concurrent_tasks:1 on janitor test to help with Fabric
1 parent 2ad5091 commit 6a024ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/core/engine_adapter/integration/test_integration.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3583,9 +3583,10 @@ def test_janitor(
35833583

35843584
init_example_project(tmp_path, ctx.engine_type, schema_name=parsed_schema.db)
35853585

3586-
def _set_config(_gateway: str, config: Config) -> None:
3586+
def _set_config(gateway: str, config: Config) -> None:
35873587
config.environment_suffix_target = environment_suffix_target
35883588
config.model_defaults.dialect = ctx.dialect
3589+
config.gateways[gateway].connection.concurrent_tasks = 1
35893590

35903591
sqlmesh = ctx.create_context(path=tmp_path, config_mutator=_set_config)
35913592

0 commit comments

Comments
 (0)