Skip to content

Commit d8c4592

Browse files
committed
updated top
1 parent 70e447d commit d8c4592

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/browserstack/local.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def isRunning
9393

9494
def stop
9595
return if @pid.nil?
96-
Process.kill("TERM", @pid)
96+
Process.kill("KILL", @pid)
9797
@process.close
9898
while true
9999
break if !self.isRunning

test/browserstack-local-test.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ def test_check_pid
1212
refute_nil @bs_local.pid, 0
1313
end
1414

15-
# def test_is_running
16-
# @bs_local.start({'key' => ENV["BROWSERSTACK_ACCESS_KEY"]})
17-
# assert_equal true, @bs_local.isRunning
18-
# end
15+
def test_is_running
16+
@bs_local.start({'key' => ENV["BROWSERSTACK_ACCESS_KEY"]})
17+
assert_equal true, @bs_local.isRunning
18+
end
1919

2020
# def test_multiple_binary
2121
# @bs_local.start({'key' => ENV["BROWSERSTACK_ACCESS_KEY"]})

0 commit comments

Comments
 (0)