Skip to content

Commit f438c54

Browse files
committed
Fix unit test on Postgres
1 parent 10779b3 commit f438c54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tests/_internal/server/routers/test_instances.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ async def test_converts_legacy_termination_reason_string(
389389
await session.execute(
390390
text("UPDATE instances SET termination_reason = 'Fleet has too many instances'")
391391
)
392+
await session.commit()
392393
resp = await client.post(
393394
"/api/instances/list", headers=get_auth_headers(user.token), json={}
394395
)

0 commit comments

Comments
 (0)