Fix sqlite_state missing STATE_DB

This commit is contained in:
pap
2026-02-04 18:48:59 +00:00
parent 60d906a5a0
commit 62d1c1f6f5

View File

@@ -319,7 +319,7 @@ async fn thread_rename_updates_state_db_name() -> Result<()> {
});
let test = builder.build(&server).await?;
let db_path = test.config.codex_home.join(STATE_DB_FILENAME);
let db_path = codex_state::state_db_path(test.config.codex_home.as_path());
for _ in 0..100 {
if tokio::fs::try_exists(&db_path).await.unwrap_or(false) {
break;