Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SamSaffron/6533a364752b6aa63ab3e8c87a837f06 to your computer and use it in GitHub Desktop.
Save SamSaffron/6533a364752b6aa63ab3e8c87a837f06 to your computer and use it in GitHub Desktop.
% bin/turbo_rspec
Using recorded test runtime
Setting up parallel test mode - starting Redis 9 on port 10009
Setting up parallel test mode - starting Redis 2 on port 10002
Setting up parallel test mode - starting Redis 1 on port 10001
Setting up parallel test mode - starting Redis 14 on port 10014
Setting up parallel test mode - starting Redis 6 on port 10006
Setting up parallel test mode - starting Redis 10 on port 10010
Setting up parallel test mode - starting Redis 5 on port 10005
Setting up parallel test mode - starting Redis 13 on port 10013
Setting up parallel test mode - starting Redis 7 on port 10007
Setting up parallel test mode - starting Redis 3 on port 10003
Setting up parallel test mode - starting Redis 12 on port 10012
Setting up parallel test mode - starting Redis 8 on port 10008
Setting up parallel test mode - starting Redis 4 on port 10004
Setting up parallel test mode - starting Redis 15 on port 10015
Setting up parallel test mode - starting Redis 11 on port 10011
Setting up parallel test mode - starting Redis 16 on port 10016
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.............................................*..................................................F....F.................................................................................................................................................................................................*...............................................F.....F......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.........................................................................................................................................................................................................................................................................................................................................*.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*................................................................................................................................................................................................................................................
Pending: (Failures listed here are expected and do not affect your suite's status)
1) DistributedMutex allows the validity of the lock to be configured
# Temporarily skipped with xit
# ./spec/components/distributed_mutex_spec.rb:51
2) PostAction#add_moderator_post_if_needed should not add a moderator post when post is flagged via private message
# No reason given
# ./spec/models/post_action_spec.rb:898
3) Theme #transform_ids works with nil values
# Temporarily skipped with xit
# ./spec/models/theme_spec.rb:77
4) Imap::Sync invalidated previous sync is updated
# Temporarily skipped with xit
# ./spec/components/imap/sync_spec.rb:546
5) Jobs::PullHotlinkedImages#execute replaces images in an anchor tag with weird indentation
# Temporarily skipped with xit
# ./spec/jobs/pull_hotlinked_images_spec.rb:114
6) CookedPostProcessor#post_process processing images with large images s3_uploads when the upload is attached to the correct post handles secure images with the correct lightbox link href
# Temporarily skipped with xit
# ./spec/components/cooked_post_processor_spec.rb:513
7) Onebox::Helpers redirects cookie handling does not send cookies to the wrong domain
# unimplemented
# ./spec/lib/onebox/helpers_spec.rb:99
8) uploads /uploads.json post file uploaded
# Temporarily skipped with xit
# ./spec/requests/api/uploads_spec.rb:37
9) backups /admin/backups.json post success response
# Temporarily skipped with xit
# ./spec/requests/api/backups_spec.rb:76
Failures:
1) UploadCreator svg sizes expressed in units other than pixels should not be larger than the maximum thumbnail size
Failure/Error: expect(upload.width).to be > 50
expected: > 50
got: 0
# ./spec/lib/upload_creator_spec.rb:600:in `block (3 levels) in <main>'
# ./spec/rails_helper.rb:279:in `block (2 levels) in <top (required)>'
# /home/sam/.gem/ruby/2.7.3/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
2) TopicViewSerializer with hidden tags does not return hidden tag to non-staff
Failure/Error: expect(json[:tags]).to eq([])
expected: []
got: nil
(compared using ==)
# ./spec/serializers/topic_view_serializer_spec.rb:209:in `block (3 levels) in <main>'
# ./spec/rails_helper.rb:279:in `block (2 levels) in <top (required)>'
# /home/sam/.gem/ruby/2.7.3/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
3) TopicViewSerializer with hidden tags returns hidden tag to staff
Failure/Error: expect(json[:tags]).to eq([hidden_tag.name])
expected: ["hidden"]
got: nil
(compared using ==)
# ./spec/serializers/topic_view_serializer_spec.rb:204:in `block (3 levels) in <main>'
# ./spec/rails_helper.rb:279:in `block (2 levels) in <top (required)>'
# /home/sam/.gem/ruby/2.7.3/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
4) TopicViewSerializer tags order tags can be sorted alphabetically
Failure/Error: expect(json[:tags]).to eq(%w(atag btag ctag))
expected: ["atag", "btag", "ctag"]
got: nil
(compared using ==)
# ./spec/serializers/topic_view_serializer_spec.rb:232:in `block (3 levels) in <main>'
# ./spec/rails_helper.rb:279:in `block (2 levels) in <top (required)>'
# /home/sam/.gem/ruby/2.7.3/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
5) TopicViewSerializer tags order tags are automatically sorted by tag popularity
Failure/Error: expect(json[:tags]).to eq(%w(btag ctag atag))
expected: ["btag", "ctag", "atag"]
got: nil
(compared using ==)
# ./spec/serializers/topic_view_serializer_spec.rb:226:in `block (3 levels) in <main>'
# ./spec/rails_helper.rb:279:in `block (2 levels) in <top (required)>'
# /home/sam/.gem/ruby/2.7.3/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
6) StaticController#favicon local store returns the default favicon if favicon has not been configured
Failure/Error: expect(response.status).to eq(200)
expected: 200
got: 500
(compared using ==)
# ./spec/requests/static_controller_spec.rb:28:in `block (4 levels) in <main>'
# ./spec/rails_helper.rb:279:in `block (2 levels) in <top (required)>'
# /home/sam/.gem/ruby/2.7.3/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
#
# expected: 200
# got: 500
#
# (compared using ==)
# ./spec/requests/static_controller_spec.rb:28:in `block (4 levels) in <main>'
Finished in 2 minutes 7.2 seconds (files took 0 seconds to load)
15077 examples, 6 failures, 9 pending, 2 errors occurred outside of examples
Failed examples:
rspec ./spec/lib/upload_creator_spec.rb:595 # UploadCreator svg sizes expressed in units other than pixels should not be larger than the maximum thumbnail size
rspec ./spec/serializers/topic_view_serializer_spec.rb:207 # TopicViewSerializer with hidden tags does not return hidden tag to non-staff
rspec ./spec/serializers/topic_view_serializer_spec.rb:202 # TopicViewSerializer with hidden tags returns hidden tag to staff
rspec ./spec/serializers/topic_view_serializer_spec.rb:229 # TopicViewSerializer tags order tags can be sorted alphabetically
rspec ./spec/serializers/topic_view_serializer_spec.rb:224 # TopicViewSerializer tags order tags are automatically sorted by tag popularity
rspec ./spec/requests/static_controller_spec.rb:25 # StaticController#favicon local store returns the default favicon if favicon has not been configured
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment