Marked HqpornerRipperTest as flaky

This commit is contained in:
cyian-1756 2018-10-06 10:13:49 -04:00
parent 7e890bce2f
commit 87c2ba34dd

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,9 +9,11 @@ import java.net.URL;
public class HqpornerRipperTest extends RippersTest{ public class HqpornerRipperTest extends RippersTest{
public void testRip() throws IOException { public void testRip() throws IOException {
if (Utils.getConfigBoolean("test.run_flaky_tests", false)) {
HqpornerRipper ripper = new HqpornerRipper(new URL("https://hqporner.com/hdporn/84636-pool_lesson_with_a_cheating_husband.html")); HqpornerRipper ripper = new HqpornerRipper(new URL("https://hqporner.com/hdporn/84636-pool_lesson_with_a_cheating_husband.html"));
testRipper(ripper); testRipper(ripper);
} }
}
public void testGetGID() throws IOException { public void testGetGID() throws IOException {
URL poolURL = new URL("https://hqporner.com/hdporn/84636-pool_lesson_with_a_cheating_husband.html"); URL poolURL = new URL("https://hqporner.com/hdporn/84636-pool_lesson_with_a_cheating_husband.html");