From 759723cef2c8e508058a4fc937e1bba36d7dbc8b Mon Sep 17 00:00:00 2001 From: damencho Date: Fri, 9 Aug 2024 14:06:51 +0300 Subject: [PATCH] fix: Drops youtube sharing video tests. We started seeing errors in the tests. Seems to be only from certain IPs running the tests regularly. [modules/UI/videolayout/VideoContainer.js] >: abort handler was called for the large video. [react/features/shared-video/components/web/AbstractVideoManager.ts] : Error in the video player 150 Check error code at https://developers.google.com/youtube/iframe_api_reference#onError --- .../org/jitsi/meet/test/SharedVideoTest.java | 21 ++----------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/src/test/java/org/jitsi/meet/test/SharedVideoTest.java b/src/test/java/org/jitsi/meet/test/SharedVideoTest.java index 250ee92b8..91f617d16 100644 --- a/src/test/java/org/jitsi/meet/test/SharedVideoTest.java +++ b/src/test/java/org/jitsi/meet/test/SharedVideoTest.java @@ -33,11 +33,9 @@ public class SharedVideoTest extends WebTestBase { /** - * Links to youtube videos and their expected urls, used for loading and + * Links to videos and their expected urls, used for loading and * testing. */ - private static String V1_VIDEO_ID = "xNXN7CZk8X0"; - private static String V1_LINK = "https://www.youtube.com/watch?v=" + V1_VIDEO_ID; public static String V2_LINK = "https://archive.org/download/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4"; private static String V2_VIDEO_ID = V2_LINK; @@ -76,7 +74,7 @@ public void setupClass() @Test public void startSharingVideo() { - startSharingVideoByUrl(V1_LINK, V1_VIDEO_ID, true); + startSharingVideoByUrl(V2_LINK, V2_VIDEO_ID, true); checkRunning(); @@ -376,22 +374,7 @@ public void stopSharingTest() } } - /** - * Starts sharing another video. - */ @Test(dependsOnMethods = { "stopSharingTest" }) - public void startSharingDifferentVideo() - { - startSharingVideoByUrl(V2_LINK, V2_VIDEO_ID, true); - - checkRunning(); - - checkUrls(); - - stopSharingTest(); - } - - @Test(dependsOnMethods = { "startSharingDifferentVideo" }) public void startSharingDifferentVideoAfterStop() { startSharingVideoByUrl(V2_LINK, V2_VIDEO_ID, true);