From 6fc3faddc39fada958a7df324f5ec022bb117aea Mon Sep 17 00:00:00 2001 From: Michael Hyun Date: Fri, 6 Dec 2024 14:23:47 -0800 Subject: [PATCH] Run linux test on testfile:8080 (alias for localhost) to fix the linux test run --- .github/actions/setup-integration-test/action.yml | 6 ++---- .../desktop/linux/audio_test.config.json | 2 +- .../linux/content_share_screen_capture_test.config.json | 2 +- .../desktop/linux/content_share_video_test.config.json | 2 +- .../desktop/linux/data_message_test.config.json | 2 +- .../desktop/linux/meeting_end_test.config.json | 2 +- .../desktop/linux/video_test.config.json | 2 +- 7 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/actions/setup-integration-test/action.yml b/.github/actions/setup-integration-test/action.yml index 91b98667f3..7e4a3df1f2 100644 --- a/.github/actions/setup-integration-test/action.yml +++ b/.github/actions/setup-integration-test/action.yml @@ -67,10 +67,8 @@ runs: - name: Clean Install run: npm ci shell: bash - - name: Add localhost 8080 host to /etc/hosts for Linux only + - name: Add testsite host to /etc/hosts for Linux only (fixes 500 internal error when loading the test page) shell: bash if: runner.os == 'Linux' run: | - sudo echo "127.0.0.1 testsite" | sudo tee -a /etc/hosts - - + sudo echo "127.0.0.1 testsite" | sudo tee -a /etc/hosts \ No newline at end of file diff --git a/integration/configs/browserCompatibilityTest/desktop/linux/audio_test.config.json b/integration/configs/browserCompatibilityTest/desktop/linux/audio_test.config.json index 66dd9cff05..2e7059d135 100644 --- a/integration/configs/browserCompatibilityTest/desktop/linux/audio_test.config.json +++ b/integration/configs/browserCompatibilityTest/desktop/linux/audio_test.config.json @@ -10,7 +10,7 @@ "noOfThreads": 1, "testImpl": "AudioTest.js", "payload": { - "url": "http://localhost:8080/?earlyConnect=1", + "url": "http://testsite:8080/?earlyConnect=1", "retry": 2 } } diff --git a/integration/configs/browserCompatibilityTest/desktop/linux/content_share_screen_capture_test.config.json b/integration/configs/browserCompatibilityTest/desktop/linux/content_share_screen_capture_test.config.json index 5ad6bd722a..8708c93f6b 100644 --- a/integration/configs/browserCompatibilityTest/desktop/linux/content_share_screen_capture_test.config.json +++ b/integration/configs/browserCompatibilityTest/desktop/linux/content_share_screen_capture_test.config.json @@ -11,7 +11,7 @@ "noOfThreads": 1, "testImpl": "ContentShareScreenCapture.js", "payload":{ - "url": "http://localhost:8080/?earlyConnect=1", + "url": "http://testsite:8080/?earlyConnect=1", "retry": 2 } } diff --git a/integration/configs/browserCompatibilityTest/desktop/linux/content_share_video_test.config.json b/integration/configs/browserCompatibilityTest/desktop/linux/content_share_video_test.config.json index 596d90603e..2b9550b4d8 100644 --- a/integration/configs/browserCompatibilityTest/desktop/linux/content_share_video_test.config.json +++ b/integration/configs/browserCompatibilityTest/desktop/linux/content_share_video_test.config.json @@ -10,7 +10,7 @@ "noOfThreads": 1, "testImpl": "ContentShareVideoTest.js", "payload": { - "url": "http://localhost:8080/", + "url": "http://testsite:8080/", "retry": 2 } } diff --git a/integration/configs/browserCompatibilityTest/desktop/linux/data_message_test.config.json b/integration/configs/browserCompatibilityTest/desktop/linux/data_message_test.config.json index ce658b8f5b..f64cfad2ab 100644 --- a/integration/configs/browserCompatibilityTest/desktop/linux/data_message_test.config.json +++ b/integration/configs/browserCompatibilityTest/desktop/linux/data_message_test.config.json @@ -11,7 +11,7 @@ "noOfThreads": 1, "testImpl": "DataMessageTest.js", "payload":{ - "url": "http://localhost:8080/?earlyConnect=1", + "url": "http://testsite:8080/?earlyConnect=1", "retry": 2 } } diff --git a/integration/configs/browserCompatibilityTest/desktop/linux/meeting_end_test.config.json b/integration/configs/browserCompatibilityTest/desktop/linux/meeting_end_test.config.json index 4b136603aa..11c8b1f497 100644 --- a/integration/configs/browserCompatibilityTest/desktop/linux/meeting_end_test.config.json +++ b/integration/configs/browserCompatibilityTest/desktop/linux/meeting_end_test.config.json @@ -11,7 +11,7 @@ "noOfThreads": 1, "testImpl": "MeetingEndTest.js", "payload":{ - "url": "http://localhost:8080/?earlyConnect=1", + "url": "http://testsite:8080/?earlyConnect=1", "retry": 2 } } diff --git a/integration/configs/browserCompatibilityTest/desktop/linux/video_test.config.json b/integration/configs/browserCompatibilityTest/desktop/linux/video_test.config.json index dc7b49d26b..5f6e641fd7 100644 --- a/integration/configs/browserCompatibilityTest/desktop/linux/video_test.config.json +++ b/integration/configs/browserCompatibilityTest/desktop/linux/video_test.config.json @@ -11,7 +11,7 @@ "noOfThreads": 1, "testImpl": "VideoTest.js", "payload":{ - "url": "http://localhost:8080/?earlyConnect=1", + "url": "http://testsite:8080/?earlyConnect=1", "retry": 2 } }