-
Notifications
You must be signed in to change notification settings - Fork 822
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Issue #2928 number of ports not equal to number of servers in dat…
…asource (#2929) * In BaseDataSource, check to make sure the number of servers is equal to the number of ports. Throw an IllegalArgumentException if they are not. Added test case to ensure * changed test to remove nesting Add the ports and server names to the error message
- Loading branch information
1 parent
258cff3
commit aff581f
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters