Skip to content

Commit

Permalink
add output from test to find why TC is failing on Travis but not locally
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdalitz committed Aug 15, 2019
1 parent 06a23f9 commit 822506e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/tc_rr-opt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def test_plain_respects_bufsize

query = create_test_query.(bufsize)
response, _error = resolver.send_plain_message(query)
if (_error != nil) then
print "Error at #{bufsize} : #{_error}"
end
# puts "\nBufsize is #{bufsize}, binary message size is #{response.encode.size}"
assert_equal(true, response.header.tc)
assert(response.encode.size <= bufsize)
Expand Down

0 comments on commit 822506e

Please sign in to comment.