@@ -183,7 +183,11 @@ def test_dump_configuration(tmp_path: Path) -> None:
183183 "sqlite" : None ,
184184 "postgres" : None ,
185185 "limiters" : [],
186- "scheduler" : {"period" : 1 },
186+ "scheduler" : {
187+ "period" : 1 ,
188+ "database_reconnection_count" : 10 ,
189+ "database_reconnection_delay" : 1 ,
190+ },
187191 "enable_token_history" : False ,
188192 },
189193 }
@@ -498,7 +502,11 @@ def test_dump_configuration_with_quota_limiters(tmp_path: Path) -> None:
498502 "type" : "cluster_limiter" ,
499503 },
500504 ],
501- "scheduler" : {"period" : 10 },
505+ "scheduler" : {
506+ "period" : 10 ,
507+ "database_reconnection_count" : 10 ,
508+ "database_reconnection_delay" : 1 ,
509+ },
502510 "enable_token_history" : True ,
503511 },
504512 }
@@ -678,7 +686,11 @@ def test_dump_configuration_byok(tmp_path: Path) -> None:
678686 "sqlite" : None ,
679687 "postgres" : None ,
680688 "limiters" : [],
681- "scheduler" : {"period" : 1 },
689+ "scheduler" : {
690+ "period" : 1 ,
691+ "database_reconnection_count" : 10 ,
692+ "database_reconnection_delay" : 1 ,
693+ },
682694 "enable_token_history" : False ,
683695 },
684696 }
@@ -844,7 +856,11 @@ def test_dump_configuration_pg_namespace(tmp_path: Path) -> None:
844856 "sqlite" : None ,
845857 "postgres" : None ,
846858 "limiters" : [],
847- "scheduler" : {"period" : 1 },
859+ "scheduler" : {
860+ "period" : 1 ,
861+ "database_reconnection_count" : 10 ,
862+ "database_reconnection_delay" : 1 ,
863+ },
848864 "enable_token_history" : False ,
849865 },
850866 }
0 commit comments