From 5bca3ca405c32687c7697a141b284707ab8c9130 Mon Sep 17 00:00:00 2001 From: Chad Retz Date: Mon, 4 Nov 2024 11:52:14 -0600 Subject: [PATCH] Fix issue with async and minitest, see https://github.com/socketry/async/issues/351 --- temporalio/test/test.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/temporalio/test/test.rb b/temporalio/test/test.rb index 8b93b08..66c5962 100644 --- a/temporalio/test/test.rb +++ b/temporalio/test/test.rb @@ -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)