Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

issue #7: Update for TestSwarm 1.0 and some other minor fixes #8

merged 2 commits into from Apr 28, 2012


None yet
3 participants

Krinkle commented Apr 27, 2012

No description provided.

Krinkle added some commits Apr 26, 2012

Refactor testswarm-browserstack to work with TestSwarm 1.0.0
- Using api.php?action=swarmstate instead of the (no longer existent) state=getneeded

- This also made it possible to kill workers more precisely (since now both pendingRuns
  and onlineClients is available, not just "isNeeded").

- Make it also compatible with testswarm installs that are not in the root of the domain.
  Previously setting swarmUrl to something other than a hostname would throw an exception
  in http.request. Now using more abstracted "request" module that takes full urls,
  instead of the lower-level "http" module directly.

- browserMap
 * TestSwarm 1.0 uses canonical names instead of numerical IDs
 * Added Firefox 9, 10 and 11
 * Updated generic "Chrome" to version 18
 * Added placeholders for other testswarm user agent IDs that browserstack API does
   not yet support.

- Got rid of some redundant JSON.stringify calls in console.log calls

clarkbox added a commit that referenced this pull request Apr 28, 2012

Merge pull request #8 from Krinkle/master
issue #7: Update for TestSwarm 1.0 and some other minor fixes

@clarkbox clarkbox merged commit 5673931 into clarkbox:master Apr 28, 2012


jzaefferer commented Apr 29, 2012

Btw. I've disabled the cronjob on the current swarm server while we're migrating to TestSwarm 1.0. Don't want to swarm BrowserStack again while things aren't quite working. TestSwarm migration is currently stuck with an outdated PHP version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment