Permalink
Browse files

Use a GET request when requesting selenium results.

  • Loading branch information...
1 parent 167c9cd commit 6e34a86785d049b4ad529328ffe18d20ba638bed @shane-tomlinson shane-tomlinson committed Nov 14, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 scripts/test_selenium
@@ -68,7 +68,9 @@ function getOrigin(done) {
function runTests(repo, sha, done) {
console.log(" >>> Starting selenium tests on", repo, sha);
- var p = spawn('curl', [ '-s', '-N', '--data', 'repo=' + repo + '&' + 'sha=' + sha, testy_url ]);
+ // use a GET request so that new tests are not started but results
+ // are received. GitHub will take care of kicking off the test run.
+ var p = spawn('curl', [ '-s', '-N', '-G', '--data', 'repo=' + repo + '&' + 'sha=' + sha, testy_url ]);
var buf = "";
p.stdout.on('data', function(d) {

0 comments on commit 6e34a86

Please sign in to comment.