Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11085

ContainerInfinispanServerDriver#restartCluster() throwing IllegalStateException

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 10.1.0.Final
    • Test Suite
    • None

      ContainerInfinispanServerDriver#restartCluster() is throwing IllegalStateException
      The following code was used:

      ConfigurationBuilder builder = new ConfigurationBuilder();
      builder.clustering().cacheMode(CacheMode.DIST_SYNC).persistence().addSingleFileStore();
       RemoteCache<Object, Object> hotRod = SERVER_TEST.hotrod().withServerConfiguration(builder).create();
      for (int i = 0; i < 100; i++) {
          hotRod.put(String.format("k%03d", i), String.format("v%03d", i));
      }
      ContainerInfinispanServerDriver serverDriver = (ContainerInfinispanServerDriver) SERVER.getServerDriver();
      SERVER_TEST.rest().get().cluster().stop();
      waitUntilServerStopped()
      serverDriver.restartCluster();
      

              ttarrant@redhat.com Tristan Tarrant
              gustavolira Gustavo Lira Silva
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: