mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-21 16:01:32 +00:00
test(store): make group capacity fixtures independent of defaults
Set inherited concurrency explicitly so the aggregation test exercises its intended 3 + 4 capacity without depending on installation defaults. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -62,6 +62,11 @@ async fn groups_aggregate_cross_provider_members_and_key_bindings_without_multip
|
||||
let Some(database) = TestDatabase::create("account_group_aggregate").await else {
|
||||
return;
|
||||
};
|
||||
// 显式固定继承上限,让分组聚合断言不依赖安装时的初始设置
|
||||
sqlx::query("update runtime_settings set max_concurrent_per_account = 3 where id = 1")
|
||||
.execute(&database.pool)
|
||||
.await
|
||||
.expect("set inherited account concurrency");
|
||||
seed_account(
|
||||
&database.pool,
|
||||
"acct_group_openai",
|
||||
|
||||
Reference in New Issue
Block a user