diff --git a/tests/src/system/quota.rs b/tests/src/system/quota.rs index 13ee6f69..1fcdf536 100644 --- a/tests/src/system/quota.rs +++ b/tests/src/system/quota.rs @@ -2,6 +2,8 @@ * SPDX-FileCopyrightText: 2020 Stalwart Labs LLC * * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-SEL + * + * Modified by Coffey Labs in 2026 for INBUXA. */ use crate::utils::{ @@ -487,6 +489,20 @@ pub async fn test(test: &mut TestServer) { .registry_destroy(ObjectType::Account, [account_id, other_account_id]) .await .assert_destroyed(&[account_id, other_account_id]); + + // inbuxa: put the upload limits back; with a one-second upload lifetime + // the next suite's uploads can expire before their import under load + admin + .registry_update_setting( + Jmap::default(), + &[ + Property::UploadQuota, + Property::MaxUploadCount, + Property::UploadTtl, + ], + ) + .await; + admin.reload_settings().await; test.cleanup().await; }