Skip to content

Commit

Permalink
disable/remove tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Feb 15, 2024
1 parent aa27fa0 commit 8e2d59e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 65 deletions.
59 changes: 0 additions & 59 deletions src/test/java/io/cryostat/CustomEventTemplate.java

This file was deleted.

8 changes: 2 additions & 6 deletions src/test/java/itest/TemplatePostDeleteIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

@QuarkusIntegrationTest
// @Disabled("TODO")
@Disabled("TODO")
public class TemplatePostDeleteIT extends StandardSelfTest {
static final String INVALID_TEMPLATE_FILE_NAME = "invalidTemplate.xml";
static final String SANITIZE_TEMPLATE_FILE_NAME = "TemplateToSanitize.jfc";
Expand All @@ -56,7 +57,6 @@ public void shouldThrowIfTemplateUploadNameInvalid() throws Exception {

webClient
.post(REQ_URL)
.basicAuthentication("user", "pass")
.sendMultipartForm(
form,
ar -> {
Expand Down Expand Up @@ -86,7 +86,6 @@ public void shouldThrowWhenPostingInvalidTemplate() throws Exception {

webClient
.post(REQ_URL)
.basicAuthentication("user", "pass")
.sendMultipartForm(
form,
ar -> {
Expand All @@ -106,7 +105,6 @@ public void testDeleteRecordingThrowsOnNonExistentTemplate() throws Exception {

webClient
.delete(String.format("%s/%s", REQ_URL, INVALID_TEMPLATE_FILE_NAME))
.basicAuthentication("user", "pass")
.send(
ar -> {
assertRequestStatus(ar, response);
Expand Down Expand Up @@ -144,7 +142,6 @@ public void testPostedTemplateIsSanitizedAndCanBeDeleted() throws Exception {
CompletableFuture<JsonArray> getResponse = new CompletableFuture<>();
webClient
.get("/api/v1/targets/localhost:0/templates")
.basicAuthentication("user", "pass")
.send(
ar -> {
assertRequestStatus(ar, getResponse);
Expand All @@ -163,7 +160,6 @@ public void testPostedTemplateIsSanitizedAndCanBeDeleted() throws Exception {
CompletableFuture<Integer> deleteResponse = new CompletableFuture<>();
webClient
.delete(REQ_URL + "/Template_To_Sanitize")
.basicAuthentication("user", "pass")
.send(
ar -> {
assertRequestStatus(ar, deleteResponse);
Expand Down

0 comments on commit 8e2d59e

Please sign in to comment.