Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10158

Some tests in IgniteCacheAbstractQuerySelfTest are incorrectly muted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.8
    • None

    Description

      Some tests in IgniteCacheAbstractQuerySelfTest are muted by renaming (prefixing with underscore, _test... and refer invalid JIRA URL in fail parameter ("http://atlassian.gridgain.com/jira/browse/GG-11216").

      • _testDifferentKeyTypes
        this test should change expectation to opposite and after that recovered
      • _testObjectQueryWithSwap and _testTwoObjectsTextSearch
        Need to be properly muted and further investigated, per separate tickets. Per my preliminary checks tests fail because
        of wrong cache configuration, although there is also a chance that test design is wrong and these should be deleted.

      There is also a dead code there, a private class EmptyObject - it needs to be deleted. Code that was using this class was removed per IGNITE-1232 (commit 79b8b08) but this private class was forgotten.

      I also searched project code for other occurrences of mentioned troublesome fail parameter "GG-11216" and found yet another incorrectly muted test: IgniteCacheQueryMultiThreadedSelfTest#_testMultiThreadedSwapUnswapLongString
      This test should be recovered. It passed on my machine and per my comparison with similar test cases testMultiThreadedSwapUnswapLong and testMultiThreadedSwapUnswapString its design looks fairly reasonable.

      Attachments

        Issue Links

          Activity

            People

              oignatenko Oleg Ignatenko
              oignatenko Oleg Ignatenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: