Skip to content

Commit

Permalink
chrome-only test, #219
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Nov 1, 2024
1 parent 39c3023 commit 80a1c9c
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions js/config/sparky.pm2.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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
// }
]
};

0 comments on commit 80a1c9c

Please sign in to comment.