Skip to content

Commit 934520d

Browse files
committed
fixes bugs
1 parent 9522aa0 commit 934520d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/LocalBinary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function LocalBinary(){
3333
var binaryPath = path.join(destParentDir, 'BrowserStackLocal');
3434
var file = fs.createWriteStream(binaryPath);
3535

36-
https.get(this.http_path, function (response) {
36+
https.get(this.httpPath, function (response) {
3737
response.on('end', function () {
3838
fs.chmod(binaryPath, '0755', function() {
3939
callback(binaryPath);

test/local.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ describe('Local', function () {
99
});
1010

1111
it('should have pid when running', function (done) {
12-
this.timeout(15000);
12+
this.timeout(600000);
1313
bsLocal.start({ key: process.env.BROWSERSTACK_ACCESS_KEY }, function(){
1414
expect(bsLocal.tunnel.pid).to.not.equal(0);
1515
done();
1616
});
1717
});
1818

1919
it('should return is running properly', function (done) {
20-
this.timeout(15000);
20+
this.timeout(60000);
2121
expect(bsLocal.isRunning()).to.not.equal(true);
2222
bsLocal.start({ key: process.env.BROWSERSTACK_ACCESS_KEY }, function(){
2323
expect(bsLocal.isRunning()).to.equal(true);
@@ -26,7 +26,7 @@ describe('Local', function () {
2626
});
2727

2828
it('should throw error on running multiple binary', function (done) {
29-
this.timeout(25000);
29+
this.timeout(60000);
3030
bsLocal.start({ key: process.env.BROWSERSTACK_ACCESS_KEY }, function(){
3131
bsLocal_2 = new browserstack.Local();
3232
try{

0 commit comments

Comments
 (0)