Skip to content

Commit f61cc6a

Browse files
kwoykeKrzysztof Woyke
andauthored
BAEL-4950: Use our S3 to host test file (eugenp#10752)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
1 parent 6712479 commit f61cc6a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

core-java-modules/core-java-networking-2/src/test/java/com/baeldung/download/FileDownloadIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
public class FileDownloadIntegrationTest {
1919

20-
static String FILE_URL = "http://ovh.net/files/1Mio.dat";
20+
static String FILE_URL = "https://s3.amazonaws.com/baeldung.com/Do+JSON+with+Jackson+by+Baeldung.pdf";
2121
static String FILE_NAME = "file.dat";
22-
static String FILE_MD5_HASH = "6cb91af4ed4c60c11613b75cd1fc6116";
22+
static String FILE_MD5_HASH = "c959feb066b37f5c4f0e0f45bbbb4f86";
2323

2424
@Test
2525
public void givenJavaIO_whenDownloadingFile_thenDownloadShouldBeCorrect() throws NoSuchAlgorithmException, IOException {

spring-web-modules/spring-resttemplate-3/src/test/java/com/baeldung/largefile/LargeFileDownloadIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
public class LargeFileDownloadIntegrationTest {
1616

17-
static String FILE_URL = "http://ovh.net/files/1Mio.dat";
17+
static String FILE_URL = "https://s3.amazonaws.com/baeldung.com/Do+JSON+with+Jackson+by+Baeldung.pdf";
1818

1919
RestTemplate restTemplate;
2020

0 commit comments

Comments
 (0)