Author: shawkins
Date: 2012-09-27 06:04:04 -0400 (Thu, 27 Sep 2012)
New Revision: 4476
Modified:
trunk/test-integration/common/src/test/java/org/teiid/arquillian/IntegrationTestDeployment.java
trunk/test-integration/common/src/test/java/org/teiid/transport/TestJDBCSocketTransport.java
Log:
updating unit tests
Modified:
trunk/test-integration/common/src/test/java/org/teiid/arquillian/IntegrationTestDeployment.java
===================================================================
---
trunk/test-integration/common/src/test/java/org/teiid/arquillian/IntegrationTestDeployment.java 2012-09-26
23:15:59 UTC (rev 4475)
+++
trunk/test-integration/common/src/test/java/org/teiid/arquillian/IntegrationTestDeployment.java 2012-09-27
10:04:04 UTC (rev 4476)
@@ -128,7 +128,7 @@
@Test
public void testTraslators() throws Exception {
Collection<? extends Translator> translators = admin.getTranslators();
- assertEquals(30, translators.size());
+ assertEquals(33, translators.size());
JavaArchive jar = getLoopyArchive();
Modified:
trunk/test-integration/common/src/test/java/org/teiid/transport/TestJDBCSocketTransport.java
===================================================================
---
trunk/test-integration/common/src/test/java/org/teiid/transport/TestJDBCSocketTransport.java 2012-09-26
23:15:59 UTC (rev 4475)
+++
trunk/test-integration/common/src/test/java/org/teiid/transport/TestJDBCSocketTransport.java 2012-09-27
10:04:04 UTC (rev 4476)
@@ -186,8 +186,8 @@
Properties p = new Properties();
p.setProperty("user", "testuser");
p.setProperty("password", "testpassword");
- p.setProperty("org.teiid.sockets.soTimeout", "50");
- p.setProperty("org.teiid.sockets.SynchronousTtl", "50");
+ p.setProperty("org.teiid.sockets.soTimeout", "200");
+ p.setProperty("org.teiid.sockets.SynchronousTtl", "100");
ConnectorManagerRepository cmr = server.getConnectorManagerRepository();
AutoGenDataService agds = new AutoGenDataService() {
@Override
@@ -196,7 +196,7 @@
return null;
}
};
- agds.setSleep(100);
+ agds.setSleep(500); //wait longer than the synch ttl/soTimeout, we should still
succeed
cmr.addConnectorManager("source", agds);
try {
conn = td.connect("jdbc:teiid:parts@mm://"+addr.getHostName()+":"
+jdbcTransport.getPort(), p);
Show replies by date