Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18521

Unify CQLTester#waitForIndex and SAITester#waitForIndexQueryable

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.x
    • Feature/SAI
    • None

    Description

      It has been mentioned in CASSANDRA-18217 that CQLTester#waitForIndex and SAITester#waitForIndexQueryable can be unified into a single method.

      The same discussion mentions that it's easy to forget to call those methods after calling CQLTester#createIndex. So that method can be renamed to createIndexAsync, and we can create a new method that creates the index and waits for it (createIndexSync, createIndexAndWaitForQueryable, or something like that).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adelapena Andres de la Peña Assign to me
            adelapena Andres de la Peña
            Andres de la Peña
            Caleb Rackliffe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 10m
              10m

              Slack

                Issue deployment