Skip to content

Commit

Permalink
Fix issue with async and minitest, see socketry/async#351
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz committed Nov 4, 2024
1 parent cef7788 commit 5bca3ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions temporalio/test/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ class Test < Minitest::Test

def self.also_run_all_tests_in_fiber
@also_run_all_tests_in_fiber = true
# We have to tell Minitest the diff executable to use because "async" has an
# issue executing Kernel#system calls.
# See https://github.com/socketry/async/issues/351
# TODO(cretz): Remove when fixed in async
Minitest::Assertions.diff = 'diff'
end

def self.method_added(method_name)
Expand Down

0 comments on commit 5bca3ca

Please sign in to comment.