tests: fix more spurious test failures in CI.
* Skip Nijie tests because they fail a lot due to Nijie rate limiting us. * Skip ArtStation downloads tests because they sometimes return different file sizes. * Fix random duplicate favgroup errors because favgroup names weren't random enough.
This commit is contained in:
@@ -157,6 +157,8 @@ class DanbooruHttpTest < ActiveSupport::TestCase
|
||||
|
||||
context "unpolish cloudflare feature" do
|
||||
should "return the original image for polished images" do
|
||||
skip if ENV["CI"].present?
|
||||
|
||||
url = "https://cdnb.artstation.com/p/assets/images/images/025/273/307/4k/atey-ghailan-a-sage-keyart-s-ch-04-outlined-1.jpg?1585246642"
|
||||
response = Danbooru::Http.use(:unpolish_cloudflare).get(url)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user