From 4c006b2291ae828f5d24d69a7805abce4fe04601 Mon Sep 17 00:00:00 2001 From: jj Date: Fri, 15 Nov 2024 12:11:29 +0000 Subject: [PATCH] api/test: add vk to finnicky services --- api/src/util/test.js | 2 +- api/src/util/tests/vk.json | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/api/src/util/test.js b/api/src/util/test.js index efb0f3a5..76eb12c3 100644 --- a/api/src/util/test.js +++ b/api/src/util/test.js @@ -13,7 +13,7 @@ const getTests = (service) => loadJSON(getTestPath(service)); // services that are known to frequently fail due to external // factors (e.g. rate limiting) -const finnicky = new Set(['bilibili', 'instagram', 'facebook', 'youtube']); +const finnicky = new Set(['bilibili', 'instagram', 'facebook', 'youtube', 'vk']); const runTestsFor = async (service) => { const tests = getTests(service); diff --git a/api/src/util/tests/vk.json b/api/src/util/tests/vk.json index b9b3fb3b..1dc3ca95 100644 --- a/api/src/util/tests/vk.json +++ b/api/src/util/tests/vk.json @@ -1,7 +1,6 @@ [ { "name": "clip, defaults", - "canFail": true, "url": "https://vk.com/clip-57274055_456239788", "params": {}, "expected": { @@ -11,7 +10,6 @@ }, { "name": "clip, 360", - "canFail": true, "url": "https://vk.com/clip-57274055_456239788", "params": { "videoQuality": "360" @@ -23,7 +21,6 @@ }, { "name": "clip different link, max", - "canFail": true, "url": "https://vk.com/clips-57274055?z=clip-57274055_456239788", "params": { "videoQuality": "max" @@ -35,7 +32,6 @@ }, { "name": "video, defaults", - "canFail": true, "url": "https://vk.com/video-57274055_456239399", "params": {}, "expected": { @@ -45,7 +41,6 @@ }, { "name": "4k video", - "canFail": true, "url": "https://vk.com/video-1112285_456248465", "params": { "videoQuality": "max" @@ -57,7 +52,6 @@ }, { "name": "ancient video (fallback to 240p)", - "canFail": true, "url": "https://vk.com/video-1959_28496479", "params": {}, "expected": { @@ -74,4 +68,4 @@ "status": "error" } } -] \ No newline at end of file +]