Skip to content

Commit 223ca0a

Browse files
committed
Debug CI failures
1 parent 5174512 commit 223ca0a

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
- name: Compile C-extension
3333
run: bundle exec rake compile
3434
- name: Run tests
35-
run: bundle exec ruby test/test_um.rb --verbose
35+
run: bundle exec ruby test/test_um.rb --verbose 1>&2

test/helper.rb

+1-12
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,6 @@ def assert_in_range exp_range, act
5050
end
5151
end
5252

53-
class IOURingBaseTest < Minitest::Test
54-
attr_accessor :ring
55-
56-
def setup
57-
@ring = IOU::Ring.new
58-
end
59-
60-
def teardown
61-
ring.close
62-
end
63-
end
64-
6553
class UMBaseTest < Minitest::Test
6654
attr_accessor :machine
6755

@@ -70,5 +58,6 @@ def setup
7058
end
7159

7260
def teardown
61+
# @machine&.cleanup
7362
end
7463
end

test/test_um.rb

+2
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ def setup
364364

365365
def teardown
366366
@server&.close
367+
super
367368
end
368369

369370
def test_accept
@@ -389,6 +390,7 @@ def setup
389390

390391
def teardown
391392
@server&.close
393+
super
392394
end
393395

394396
def test_accept_each

0 commit comments

Comments
 (0)