From 80a1c9ca9a0c1884b6544ef180d4754d652b2fa1 Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Fri, 1 Nov 2024 10:50:00 -0600 Subject: [PATCH] chrome-only test, https://github.com/phetsims/aqua/issues/219 --- js/config/sparky.pm2.config.js | 41 +++++++++++++++++----------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/js/config/sparky.pm2.config.js b/js/config/sparky.pm2.config.js index 2283c48..ec9a524 100644 --- a/js/config/sparky.pm2.config.js +++ b/js/config/sparky.pm2.config.js @@ -18,7 +18,7 @@ const CT_MAIN_THREAD_COUNT = 20; // localCount for running terminal tests like builds and lints. // const FIREFOX_INSTANCES = 10; // Number of firefox browser instances -// const CHROME_INSTANCES = 10; // Number of chrome browser instances +const CHROME_INSTANCES = 40; // Number of chrome browser instances module.exports = { apps: [ @@ -35,34 +35,35 @@ module.exports = { cwd: '/data/share/phet/continuous-testing/ct-quick/aqua', interpreter: '/bin/bash', script: '../perennial/bin/sage', - args: 'run js/grunt/tasks/quick-server.ts', + args: 'run js/grunt/tasks/quick-server.ts --testing', time: true }, { name: 'ct-chrome-client', cwd: '/data/share/phet/continuous-testing/ct-node-client/aqua', - interpreter: '/bin/bash', - script: '../perennial/bin/sage', + // interpreter: '/bin/bash', + // script: '../perennial/bin/sage', // This is the static IP for sparky, but it gets around the DNS, which was causing trouble in https://github.com/phetsims/aqua/issues/185#issuecomment-1604337447 - args: 'run js/grunt/tasks/ct-node-client.ts --ctID="Sparky Node Chrome" --serverURL=http://128.138.93.172/ --fileServerURL=http://128.138.93.172/continuous-testing', - // script: 'grunt', - // exec_mode: 'cluster', - // instances: CHROME_INSTANCES, - merge_logs: true, - time: true - }, - { - name: 'ct-firefox-client', - cwd: '/data/share/phet/continuous-testing/ct-node-client/aqua', - interpreter: '/bin/bash', - script: '../perennial/bin/sage', - args: 'run js/grunt/tasks/ct-node-client.ts --ctID="Sparky Node Firefox" --browser=firefox --serverURL=http://127.0.0.1 --fileServerURL=http://127.0.0.1/continuous-testing', - // script: 'grunt', - // exec_mode: 'cluster', - // instances: FIREFOX_INSTANCES, + args: 'ct-node-client --ctID="Sparky Node Chrome" --serverURL=http://128.138.93.172/ --fileServerURL=http://128.138.93.172/continuous-testing', + script: 'grunt', + exec_mode: 'cluster', + instances: CHROME_INSTANCES, merge_logs: true, time: true } + // , + // { + // name: 'ct-firefox-client', + // cwd: '/data/share/phet/continuous-testing/ct-node-client/aqua', + // interpreter: '/bin/bash', + // script: '../perennial/bin/sage', + // args: 'run js/grunt/tasks/ct-node-client.ts --ctID="Sparky Node Firefox" --browser=firefox --serverURL=http://127.0.0.1 --fileServerURL=http://127.0.0.1/continuous-testing', + // // script: 'grunt', + // // exec_mode: 'cluster', + // // instances: FIREFOX_INSTANCES, + // merge_logs: true, + // time: true + // } ] }; \ No newline at end of file