File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -93,10 +93,13 @@ def isRunning
9393
9494 def stop
9595 return if @pid . nil?
96+ puts "PID #{ @pid } "
97+ puts `lsof -i:45691`
9698 Process . kill ( "INT" , @pid )
9799 sleep 3
98100 Process . kill ( "KILL" , @pid )
99101 @process . close
102+ puts `lsof -i:45691`
100103 while self . isRunning
101104 sleep 1
102105 end
Original file line number Diff line number Diff line change @@ -8,20 +8,20 @@ def setup
88 end
99
1010 def test_check_pid
11- @bs_local . start ( { 'force' => true } )
11+ @bs_local . start
1212 refute_nil @bs_local . pid , 0
1313 end
1414
1515 def test_is_running
16- @bs_local . start ( { 'force' => true } )
16+ @bs_local . start
1717 assert_equal true , @bs_local . isRunning
1818 end
1919
2020 def test_multiple_binary
21- @bs_local . start ( { 'force' => true } )
21+ @bs_local . start
2222 bs_local_2 = BrowserStack ::Local . new
2323 assert_raises BrowserStack ::LocalException do
24- bs_local_2 . start ( { 'force' => true } )
24+ bs_local_2 . start
2525 end
2626 end
2727
You can’t perform that action at this time.
0 commit comments