Merge pull request #987 from cyian-1756/hqpornerFixes

Marked HqpornerRipperTest as flaky
This commit is contained in:
cyian-1756 2018-10-06 09:39:24 -05:00 committed by GitHub
commit 20ded2e5dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
package com.rarchives.ripme.tst.ripper.rippers; package com.rarchives.ripme.tst.ripper.rippers;
import com.rarchives.ripme.ripper.rippers.HqpornerRipper; import com.rarchives.ripme.ripper.rippers.HqpornerRipper;
import com.rarchives.ripme.utils.Utils;
import java.io.IOException; import java.io.IOException;
import java.net.URL; import java.net.URL;
@ -8,8 +9,10 @@ import java.net.URL;
public class HqpornerRipperTest extends RippersTest{ public class HqpornerRipperTest extends RippersTest{
public void testRip() throws IOException { public void testRip() throws IOException {
HqpornerRipper ripper = new HqpornerRipper(new URL("https://hqporner.com/hdporn/84636-pool_lesson_with_a_cheating_husband.html")); if (Utils.getConfigBoolean("test.run_flaky_tests", false)) {
testRipper(ripper); HqpornerRipper ripper = new HqpornerRipper(new URL("https://hqporner.com/hdporn/84636-pool_lesson_with_a_cheating_husband.html"));
testRipper(ripper);
}
} }
public void testGetGID() throws IOException { public void testGetGID() throws IOException {