ManageIQ / more_core_extensions

MoreCoreExtensions are a set of core extensions beyond those provided by ActiveSupport.
MIT License
5 stars 23 forks source link

specs randomly dump undefined method `thread_safety' for #<Class...> #77

Closed Fryguy closed 8 months ago

Fryguy commented 4 years ago

If you run the tests with bundle exec rspec --order random you will occasionally get the following error in the output (but the tests don't actually fail):

#<Thread:0x00007fecd012e048@/Users/jfrey/dev/more_core_extensions/spec/core_ext/module/cache_with_timeout_spec.rb:166 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
    2: from /Users/jfrey/dev/more_core_extensions/spec/core_ext/module/cache_with_timeout_spec.rb:167:in `block (4 levels) in <top (required)>'
    1: from /Users/jfrey/dev/more_core_extensions/spec/core_ext/module/cache_with_timeout_spec.rb:167:in `times'
/Users/jfrey/dev/more_core_extensions/spec/core_ext/module/cache_with_timeout_spec.rb:168:in `block (5 levels) in <top (required)>': undefined method `thread_safety' for #<Class:0x00007fecd3284890> (NoMethodError)

@jrafanie

jrafanie commented 4 years ago

fun!

Fryguy commented 4 years ago

correction...the specs don't fail though...

djberg96 commented 4 years ago

Yep, I see the same thing locally.

Ruby 2.6.5 on Catalina, btw.

miq-bot commented 1 year ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.