Skip to content
Browse files

Fixed hashing of workers

Fixed hashing of workers that was causing workers to not terminate as
needed.
  • Loading branch information...
1 parent 373ff79 commit dec7b61682eaa55fc25249b525bf4d780cde758f Sai Wong committed Nov 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/testswarm-browserstack.js
View
4 src/testswarm-browserstack.js
@@ -255,10 +255,10 @@ self = {
liveWorkers.forEach(function (worker) {
percWorkers[worker.id] = {
status: worker.status,
- browser: worker.browser
+ browser: _.pick(worker, 'os', 'version', 'browser')
};
- uaId = self.getUaIdFromWorker(worker);
+ uaId = self.getUaIdFromWorker(percWorkers[worker.id]);
if (uaId) {
workersByUa[uaId] += 1;
}

0 comments on commit dec7b61

Please sign in to comment.
Something went wrong with that request. Please try again.