I think RSpec's method invocation counting isn't thread-safe :( https://github.com/tarcieri/turbine/commit/a27a683e74df3ed1e69e401830707d0e5834b88b …
Using the exact same setup, but a Concurrent::AtomicFixnum, I get exact invocation counting every time: https://github.com/tarcieri/turbine/blob/master/spec/turbine/processor_spec.rb#L47 …
0 replies
1 retweet
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.