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

unexpected IllegalArgumentException in IgniteDbPutGetAbstractTest#testRandomPutGetRemove

    XMLWordPrintableJSON

Details

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

    Description

      IgniteDbPutGetAbstractTest#testRandomPutGetRemove (in current codebase muted by renaming to _testRandomPutGetRemove) fails with IAE:

      java.lang.IllegalArgumentException: Ouch! Argument is invalid: Cache name must not be null or empty.
      
      	at org.apache.ignite.internal.util.GridArgumentCheck.ensure(GridArgumentCheck.java:109)
      	at org.apache.ignite.internal.processors.cache.GridCacheUtils.validateCacheName(GridCacheUtils.java:1600)
      	at org.apache.ignite.internal.IgniteKernal.cache(IgniteKernal.java:2901)
      	at org.apache.ignite.internal.processors.database.IgniteDbPutGetAbstractTest.cache(IgniteDbPutGetAbstractTest.java:74)
      	at org.apache.ignite.internal.processors.database.IgniteDbPutGetAbstractTest.testRandomPutGetRemove(IgniteDbPutGetAbstractTest.java:814)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2208)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:144)
      	at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:2124)
      	at java.lang.Thread.run(Thread.java:745)

      Note a while ago this test was muted by adding underscore prefix to its name per commit 2e343b6

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: