diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8974277..aa459188 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,4 +88,4 @@ jobs: done cat ${{ github.workspace }}/setup.sql | cockroach sql --insecure - name: Test - run: bundle exec rake test TESTOPTS='--profile=3' + run: bundle exec rake test TESTOPTS='--profile=3 --verbose' diff --git a/test/cases/helper_cockroachdb.rb b/test/cases/helper_cockroachdb.rb index 9ec21e5a..d0d9602d 100644 --- a/test/cases/helper_cockroachdb.rb +++ b/test/cases/helper_cockroachdb.rb @@ -200,16 +200,3 @@ def header(stream) end ActiveRecord::SchemaDumper.prepend(NoHeaderExt) - -def bugmsg(header, stdout) - bugged = begin; print; rescue IOError; "💥 "; end - STDOUT.puts "🤞#{header.rjust(17)}: stdout=#{stdout.inspect} " \ - "#{bugged}(at #{caller_locations(2, 1).first})" -end - -trace_var :$stdout, (proc { bugmsg("$stdout=", _1) }) - -TracePoint.trace(:a_return) do |tp| - next unless tp.method_id == :reopen && tp.self == $stdout - bugmsg("$stdout#reopen", $stdout) -end