Skip to content

Commit

Permalink
imgur tests flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
soloturn committed Jan 16, 2025
1 parent 686b376 commit c0f1e6e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public void testImgurURLFailures() throws IOException, URISyntaxException {
}

@Test
@Tag("flaky")
public void testImgurAlbums() throws IOException, URISyntaxException {
List<URL> contentURLs = new ArrayList<>();
// URLs that should return more than 1 image
Expand All @@ -63,6 +64,7 @@ public void testImgurAlbums() throws IOException, URISyntaxException {
}

@Test
@Tag("flaky")
public void testImgurUserAccount() throws IOException, URISyntaxException {
List<String> contentURLs = new ArrayList<>();
// URL with albums
Expand All @@ -89,6 +91,7 @@ public void testImgurSingleImage() throws IOException, URISyntaxException {
}

@Test
@Tag("flaky")
public void testImgurAlbumWithMoreThan20Pictures() throws IOException, URISyntaxException {
ImgurAlbum album = ImgurRipper.getImgurAlbum(new URI("http://imgur.com/a/HUMsq").toURL());
Assertions.assertTrue(album.images.size() >= 20,
Expand Down

0 comments on commit c0f1e6e

Please sign in to comment.