Skip to content

Commit

Permalink
@disabled("Intermittent AM-2919") removed from various Integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrownccd committed Jan 15, 2024
1 parent 6613a4e commit 15e2f6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ public void setUp() throws Exception {
wiremockFixtures.resetRequests();
}

//@Disabled("Intermittent AM-2919")
@Test
@Sql(executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD, scripts = {"classpath:sql/insert_refresh_jobs.sql"})
public void shouldProcessRefreshRoleAssignmentsWithJobIdToComplete() throws Exception {
Expand Down Expand Up @@ -183,7 +182,6 @@ public void shouldProcessRefreshRoleAssignmentsWithJobIdToComplete() throws Exce
assertNotNull(refreshJob.getLog());
}

//@Disabled("Intermittent AM-2919")
@Test
@Sql(executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD, scripts = {"classpath:sql/insert_refresh_jobs.sql"})
public void shouldProcessRefreshRoleAssignmentsWithJobIdToAborted() throws Exception {
Expand Down Expand Up @@ -291,7 +289,6 @@ public void shouldProcessRefreshRoleAssignmentsWithJobIdToPartialComplete_status
assertThat(refreshJob.getLog(), containsString(String.join(",", refreshJob.getUserIds())));
}

//@Disabled("Intermittent AM-2919")
@Test
@Sql(executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD, scripts = {"classpath:sql/insert_refresh_jobs.sql"})
public void shouldProcessRefreshRoleAssignmentsWithFailedUsersToComplete() throws Exception {
Expand Down Expand Up @@ -376,7 +373,6 @@ public void shouldFailProcessRefreshRoleAssignmentsWithOutJobID() throws Excepti
.andReturn();
}

//@Disabled("Intermittent AM-2919")
@Test
public void shouldFailProcessRefreshRoleAssignmentsWithInvalidServiceToken() throws Exception {
logger.info("Refresh request rejected with invalid service token");
Expand All @@ -394,7 +390,6 @@ public void shouldFailProcessRefreshRoleAssignmentsWithInvalidServiceToken() thr
assertThat(result.getResolvedException().getMessage(), equalTo(UNAUTHORIZED_SERVICE));
}

//@Disabled("Intermittent AM-2919")
@Test
@Sql(executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD, scripts = {"classpath:sql/insert_refresh_jobs.sql"})
public void shouldProcessRefreshRoleAssignmentsWithJobIdToComplete_retryFail() throws Exception {
Expand All @@ -419,7 +414,6 @@ public void shouldProcessRefreshRoleAssignmentsWithJobIdToComplete_retryFail() t
assertEquals("NEW", refreshJob.getStatus());// failed process should change the status to IN-PROGRESS
}

//@Disabled("Intermittent AM-2919")
@Test
@Sql(executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD, scripts = {"classpath:sql/insert_refresh_jobs.sql"})
public void shouldProcessRefreshRoleAssignmentsWithJobIdToComplete_CRDRetry() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.BeforeEach;
//import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.mockito.Mock;
import org.slf4j.Logger;
Expand Down Expand Up @@ -196,7 +195,6 @@ public void shouldFailProcessRefreshRoleAssignmentsWithOutJobID() throws Excepti
.andReturn();
}

//@Disabled("Intermittent AM-2919")
@Test
public void shouldFailProcessRefreshRoleAssignmentsWithInvalidServiceToken() throws Exception {
logger.info("Refresh request rejected with invalid service token");
Expand All @@ -214,7 +212,6 @@ public void shouldFailProcessRefreshRoleAssignmentsWithInvalidServiceToken() thr
assertThat(result.getResolvedException().getMessage(), equalTo(UNAUTHORIZED_SERVICE));
}

//@Disabled("Intermittent AM-2919")
@Test
@Sql(executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD, scripts = {"classpath:sql/insert_refresh_jobs.sql"})
public void shouldProcessRefreshRoleAssignmentsWithJobIdToComplete_retryFail() throws Exception {
Expand All @@ -239,7 +236,6 @@ public void shouldProcessRefreshRoleAssignmentsWithJobIdToComplete_retryFail() t
assertEquals("NEW", refreshJob.getStatus());// failed process should change the status to IN-PROGRESS
}

//@Disabled("Intermittent AM-2919")
@Test
@Sql(executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD, scripts = {"classpath:sql/insert_refresh_jobs.sql"})
public void shouldProcessRefreshRoleAssignmentsWithJobIdToComplete_CRDRetry() throws Exception {
Expand Down

0 comments on commit 15e2f6d

Please sign in to comment.