Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_long test is failing #7

Open
Apteryks opened this issue Jan 9, 2023 · 0 comments
Open

test_long test is failing #7

Apteryks opened this issue Jan 9, 2023 · 0 comments

Comments

@Apteryks
Copy link

Apteryks commented Jan 9, 2023

Hello,

When running the test suite with rake test from the latest released gem and Ruby 2.7.4, I get:

starting phase `check'
/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/bin/ruby -w -I"lib:test" -I"/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib" "/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb" "test/multipart_parser/parser_test.rb" "test/multipart_parser/reader_test.rb" 
Loaded suite /gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/rake_test_loader
Started
.....F
===============================================================================
Failure: test_long(MultipartParser::ReaderTest): <false> is not true.
/tmp/guix-build-ruby-multipart-parser-0.1.1.drv-0/gem/test/multipart_parser/reader_test.rb:97:in `test_long'
      94: 
      95:       reader.write(fixture.raw)
      96: 
  =>  97:       assert !on_error_called
      98:       assert reader.ended?
      99: 
     100:       assert_equal parts.size, fixture.parts.size
===============================================================================
.
Finished in 0.021001056 seconds.
-------------------------------------------------------------------------------
7 tests, 24 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
85.7143% passed
-------------------------------------------------------------------------------
333.32 tests/s, 1142.80 assertions/s
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" -I"/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib" "/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb" "test/multipart_parser/parser_test.rb" "test/multipart_parser/reader_test.rb" ]

Tasks: TOP => test

Any idea of what is going wrong?

Thanks.

@Apteryks Apteryks changed the title 1 failing test test_long test is failing Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant