From 57c318653e6a8ae9d0c2541a62853fb8dd582d5d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 22 May 2023 16:23:28 +0200 Subject: [PATCH] Fix live quota tests --- server/tests/api/live/live-constraints.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')