diff --git a/server/tests/api/live/live-constraints.ts b/server/tests/api/live/live-constraints.ts index 7af6af193..1c8d065f7 100644 --- a/server/tests/api/live/live-constraints.ts +++ b/server/tests/api/live/live-constraints.ts @@ -183,7 +183,7 @@ describe('Test live constraints', function () { await wait(500) quotaUser = await servers[0].users.getMyQuotaUsed({ token: userAccessToken }) - } while (quotaUser.videoQuotaUsed < baseQuota.videoQuotaUsed) + } while (quotaUser.videoQuotaUsed <= baseQuota.videoQuotaUsed) const { data } = await servers[0].users.list() const quotaAdmin = data.find(u => u.username === 'user1')