Skip to content

Transient failure in spec/services/chat_names/find_user_service_spec.rb

As seen in https://gitlab.com/gitlab-org/gitlab-ce/builds/12703313:

  1) ChatNames::FindUserService#execute find user mapping when existing user is requested updates when last time chat name was used
     Failure/Error: expect(chat_name.reload.last_used_at).to be_like_time(Time.now)
       expected 2017-03-21 21:17:46 UTC to be within one second of 2017-03-21 21:17:47 +0000
     # ./spec/services/chat_names/find_user_service_spec.rb:23:in `block (5 levels) in <top (required)>'

Finished in 20 minutes 6 seconds (files took 25.88 seconds to load)
802 examples, 1 failure

Failed examples:

rspec ./spec/services/chat_names/find_user_service_spec.rb:20 # ChatNames::FindUserService#execute find user mapping when existing user is requested updates when last time chat name was used