DEV: Skip erratic spec for now

DEV: Skip erratic spec for now

Spec fails intermittently due to CDN state.

diff --git a/spec/components/cooked_post_processor_spec.rb b/spec/components/cooked_post_processor_spec.rb
index 94d87ce..47262f1 100644
--- a/spec/components/cooked_post_processor_spec.rb
+++ b/spec/components/cooked_post_processor_spec.rb
@@ -552,7 +552,8 @@ describe CookedPostProcessor do
               upload.update(secure: true, access_control_post: post)
             end
 
-            it "handles secure images with the correct lightbox link href" do
+            # TODO fix this spec, it is sometimes getting CDN links when it runs concurrently
+            xit "handles secure images with the correct lightbox link href" do
               cpp.post_process
 
               expect(cpp.html).to match_html cooked_html

GitHub sha: 8c1e008c

  1) 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
     Failure/Error: expect(cpp.html).to match_html cooked_html

       after sanitizing for extra white space and compactness, expected:
       <p><div class="lightbox-wrapper"><a class="lightbox" href="//test.localhost/secure-media-uploads/original/1X/5e33b4e71c11170026e61adbe1db1f19c216d7be.png" data-download-href="https://local.cdn.com/uploads/short-url/drlF7nZPYRsNDUHBBnjp4ZQcwXQ.png?dl=1" title="large.png"><img src="//test.localhost/secure-media-uploads/original/1X/5e33b4e71c11170026e61adbe1db1f19c216d7be.png" alt="large.png" data-base62-sha1="drlF7nZPYRsNDUHBBnjp4ZQcwXQ" width="600" height="500"><div class="meta">
       <svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use xlink:href="#far-image"></use></svg><span class="filename">large.png</span><span class="informations">1750×2000 1.21 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use xlink:href="#discourse-expand"></use></svg>
       </div></a></div></p>
        to match:
       <p><div class="lightbox-wrapper"><a class="lightbox" href="//test.localhost/secure-media-uploads/original/1X/5e33b4e71c11170026e61adbe1db1f19c216d7be.png" data-download-href="//test.localhost/uploads/short-url/drlF7nZPYRsNDUHBBnjp4ZQcwXQ.unknown?dl=1" title="large.png"><img src="" alt="large.png" data-base62-sha1="drlF7nZPYRsNDUHBBnjp4ZQcwXQ" width="600" height="500"><div class="meta">
       <svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use xlink:href="#far-image"></use></svg><span class="filename">large.png</span><span class="informations">1750×2000 1.21 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use xlink:href="#discourse-expand"></use></svg>
       </div></a></div></p>
     # ./spec/components/cooked_post_processor_spec.rb:558:in `block (7 levels) in <main>'

Finished in 3 minutes 0.4 seconds (files took 0 seconds to load)
17274 examples, 1 failure, 11 pending

@martin for next week.