Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-6265

Construct SessionPool using empty nodeUrls should throw exception

    XMLWordPrintableJSON

Details

    Description

      while we use an empty nodeUrls to construct SessionPool, we will succeed(using localhost and 6667 as default host and port) which is not we want. We expect it throw exception to tell us that nodeUrls shouldn't be empty.

      ```

      SessionPool sessionPool = new SessionPool(Collections.emptyList(), "root", "root", 3);

      ```

      Attachments

        Issue Links

          Activity

            People

              jackietien Yuan Tian
              jackietien Yuan Tian
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: