mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
Fix sqlite_state missing STATE_DB
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user