Skip to content

Test fails on i386 and armhf architectures #16

@dleidert

Description

@dleidert

While running bundle exec rspec on an i386 architecture, this test fails:

Failures:

  1) RSpec::Memory on supported platform should not exceed specified size limit
     Failure/Error:
       expect do
       	"a" * 100_000
       end.to limit_allocations.of(String, size: 100_001)
     
       exceeded allocation limit: allocated 2 String instances, 99961 bytes, expected exactly 100001 bytes
     # ./spec/async/rspec/memory_spec.rb:82:in `block (3 levels) in <top (required)>'

Finished in 3.34 seconds (files took 0.25602 seconds to load)
19 examples, 1 failure

Failed examples:

rspec ./spec/async/rspec/memory_spec.rb:81 # RSpec::Memory on supported platform should not exceed specified size limit

The same happens on armhf machines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions