From 620193318c31e2733b7e8a8cb18a3337346fd88f Mon Sep 17 00:00:00 2001 From: Michael Hyun Date: Thu, 2 May 2024 13:40:11 -0700 Subject: [PATCH 1/2] Increase timeout for Roster Check --- integration/js/checks/RosterCheckConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/js/checks/RosterCheckConfig.js b/integration/js/checks/RosterCheckConfig.js index 0024a4921f..a14046c95f 100644 --- a/integration/js/checks/RosterCheckConfig.js +++ b/integration/js/checks/RosterCheckConfig.js @@ -1,6 +1,6 @@ class RosterCheckConfig { - constructor(checkCount = 10, waitTimeMs = 1000){ + constructor(checkCount = 10, waitTimeMs = 2000){ this.checkCount = checkCount; this.waitTimeMs = waitTimeMs; } From d1f502d5153bf3f00a828b06b459bd214c502dca Mon Sep 17 00:00:00 2001 From: Henry Smith <36210679+hensmi-amazon@users.noreply.github.com> Date: Fri, 3 May 2024 15:39:50 -0700 Subject: [PATCH 2/2] Update send-test-report.js to not send (#2867) --- .github/script/send-test-report.js | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/script/send-test-report.js b/.github/script/send-test-report.js index bc09875645..fefd94e7fc 100644 --- a/.github/script/send-test-report.js +++ b/.github/script/send-test-report.js @@ -1,15 +1,19 @@ // Send test report is a minimal script that makes a HTTP POST call to a webhook to send a slack message. // For example, this script passes results of the browser compatibility report to the webhook so that the amazon-chime-js-sdk team can be notified of the results. -const axios = require('axios'); - -var myArgs = process.argv.slice(2); - -axios.post(myArgs[0], { - 'github_workflow_url': myArgs[1], - 'browser_compatibility_tests_status': myArgs[2].toUpperCase() -}, res => { - console.log(res); -}, err => { - console.log(err); -}); +// Disabled until a kind soul fixes these tests + +// const axios = require('axios'); + +// var myArgs = process.argv.slice(2); + +// if (myArgs[2].toUpperCase() !== 'SUCCESS') { +// axios.post(myArgs[0], { +// 'github_workflow_url': myArgs[1], +// 'browser_compatibility_tests_status': myArgs[2].toUpperCase() +// }).then(res => { +// console.log(res.data); +// }).catch(err => { +// console.log(err); +// }); +// }