Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-5630

Some tests using await should use until instead of untilAsserted

    XMLWordPrintableJSON

Details

    Description

      Awaitility was upgraded for GEODE-5593 and most or all of the await()...until() calls were changed to await()...untilAsserted(). One or more of these that are now incorrect.

      BucketCreationCrashCompletesRegressionTest line 173 is now:

            await().atMost(2, MINUTES).untilAsserted(() -> {
              hasBucketOwners(partitionedRegion, bucketId);
            });
      

      But hasBucketOwners returns a boolean and does not perform any assertions.

      I'll fix this test and then review every other test that was changed to use untilAsserted.

      Attachments

        Activity

          People

            klund Kirk Lund
            klund Kirk Lund
            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 - 1.5h
                1.5h