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

Method stopGrid(name) doesn't work in multiJvm mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.5
    • None

    Description

      Exception at call
      java.lang.ClassCastException: org.apache.ignite.testframework.junits.multijvm.IgniteProcessProxy cannot be cast to org.apache.ignite.internal.IgniteKernal
      
      Reproducer snippet
          /** {@inheritDoc} */
          @Override protected boolean isMultiJvm() {
              return true;
          }
      
          /**
           * @throws Exception If failed.
           */
          public void testGrid() throws Exception {
              try {
                  startGrid(0);
      
                  startGrid(1);
              }
              finally {
                  stopGrid(1);
      
                  stopGrid(0);
              }
          }
      

      UPD: It is necessary to fix possibility of hangup of a system thread of separate JVM at Ignite's node shutdown.

      Attachments

        Activity

          People

            daradurvs Vyacheslav Daradur
            daradurvs Vyacheslav Daradur
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: