Yuan Tian created IOTDB-6265:
--------------------------------

             Summary: Construct SessionPool using empty nodeUrls should throw 
exception
                 Key: IOTDB-6265
                 URL: https://issues.apache.org/jira/browse/IOTDB-6265
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Client/Java
            Reporter: Yuan Tian
            Assignee: Yuan Tian


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);

```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to