Author: rareddy
Date: 2010-08-09 13:46:28 -0400 (Mon, 09 Aug 2010)
New Revision: 2430
Modified:
trunk/client/src/test/java/org/teiid/jdbc/TestSocketProfile.java
Log:
TEIID-1192: adding the support for having the underscores in the host names in the JDBC
URL.
Modified: trunk/client/src/test/java/org/teiid/jdbc/TestSocketProfile.java
===================================================================
--- trunk/client/src/test/java/org/teiid/jdbc/TestSocketProfile.java 2010-08-09 15:53:18
UTC (rev 2429)
+++ trunk/client/src/test/java/org/teiid/jdbc/TestSocketProfile.java 2010-08-09 17:46:28
UTC (rev 2430)
@@ -76,7 +76,7 @@
assertTrue(!SocketProfile.acceptsURL("jdbc:teiid:@localhost:1234;logLevel=2;logFile=D:\\metamatrix\\work\\DQP\\log\\jdbcLogFile.log"));
//$NON-NLS-1$
assertTrue(!SocketProfile.acceptsURL("jdbc:teiid:@localhost:1234;logLevel=2;logFile=D:\\metamatrix\\work\\DQP\\log\\jdbcLogFile.log;autoCommitTxn=OFF;paritalResultsMode=true"));
//$NON-NLS-1$
assertTrue(!SocketProfile.acceptsURL("jdbc:teiid:@localhost:1234;stickyConnections=false;socketsPerVM=4"));
//$NON-NLS-1$
-
assertTrue(!SocketProfile.acceptsURL("jdbc:teiid:vdb@mm://my_host.mydomain.com:53535,127.0.0.1:1234"));
//$NON-NLS-1$
+
assertTrue(SocketProfile.acceptsURL("jdbc:teiid:vdb@mm://my_host.mydomain.com:53535,127.0.0.1:1234"));
//$NON-NLS-1$
}
/** Invalid format of urls*/
Show replies by date