Skip to content

Commit 90a1219

Browse files
committed
disable bearer token test for jenkins
1 parent d649ecf commit 90a1219

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/test/java/edu/harvard/iq/dataverse/api/FilesIT.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@
2424
import org.hamcrest.CoreMatchers;
2525
import org.hamcrest.Matcher;
2626
import org.hamcrest.Matchers;
27-
import org.junit.jupiter.api.AfterAll;
28-
import org.junit.jupiter.api.BeforeAll;
29-
import org.junit.jupiter.api.Nested;
30-
import org.junit.jupiter.api.Test;
27+
import org.junit.jupiter.api.*;
3128
import org.junit.jupiter.api.io.TempDir;
3229
import org.junit.jupiter.params.ParameterizedTest;
3330
import org.junit.jupiter.params.provider.Arguments;
@@ -4058,7 +4055,9 @@ public void testDownloadFileWithGuestbookResponse() throws IOException, JsonPars
40584055
assertEquals(OK.getStatusCode(), signedUrlResponse.getStatusCode());
40594056
}
40604057

4058+
// This test is disabled because it is only compatible with the containerized development environment and would cause the Jenkins job to fail.
40614059
@Test
4060+
@Disabled
40624061
public void testDownloadFileWithGuestbookResponseUsingBearerToken() throws IOException, JsonParseException {
40634062
msgt("testDownloadFileWithGuestbookResponseUsingBearerToken");
40644063
// Create superuser

0 commit comments

Comments
 (0)