Class TestReindexRequestResource

java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraRestTest
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestReindexRequestResource

public class TestReindexRequestResource extends BaseJiraRestTest
  • Constructor Details

    • TestReindexRequestResource

      public TestReindexRequestResource()
  • Method Details

    • setUp

      public void setUp()
    • testReadReindexRequestStatus

      public void testReadReindexRequestStatus()
      Read status of an existing request.
    • testReadReindexRequestStatusNotFound

      public void testReadReindexRequestStatusNotFound()
      Should get 404 when reading status of non-existing request.
    • testPerformReindex

      public void testPerformReindex() throws InterruptedException
      Adds a request, perform reindex and validate state has updated.
      Throws:
      InterruptedException
    • testPerformReindexWithSharedEntities

      public void testPerformReindexWithSharedEntities() throws InterruptedException
      Adds a request, perform reindex and validate state has updated;
      Throws:
      InterruptedException
    • testReindexJustAComment

      public void testReindexJustAComment()
      Just reindex comments without issues and tests whether the reindex was successful.