Skip to content

Intermittently Failing Tests #263

Closed
Closed
@jdantonio

Description

@jdantonio

A running list of tests that occasionally fail and need to be fixed:

Output from tests that failed locally rather than on TravisCI:

Failures:

  1) #timeout kills the thread on timeout
     Failure/Error: expect(Thread).to receive(:kill).with(any_args())
       (<Thread (class)>).kill(*(any args))
           expected: 1 time with any arguments
           received: 1443 times with any arguments
     # ./spec/concurrent/utility/timeout_spec.rb:35:in `block (2 levels) in <module:Concurrent>'

  2) #timeout kills the thread on success
     Failure/Error: expect(Thread).to receive(:kill).with(any_args())
       (<Thread (class)>).kill(*(any args))
           expected: 1 time with any arguments
           received: 123 times with any arguments
     # ./spec/concurrent/utility/timeout_spec.rb:30:in `block (2 levels) in <module:Concurrent>'

  3) Concurrent::MVar spurious wake ups #modify returns TIMEOUT on timeout on an empty MVar
     Failure/Error: expect(result).to be_nil
       expected: nil
            got: #<Object:0x007ff9d9560740>
     # ./spec/concurrent/mvar_spec.rb:345:in `block (4 levels) in <module:Concurrent>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug in the library or documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions