summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-10-06 08:10:29 (EDT)
committerEike Stepper2007-10-06 08:10:29 (EDT)
commit0ed388eee2b1a727d14d5644d411d1bff8ff6ca6 (patch)
tree4cb17b06fe019faedc05ef8c71ee61b280e7bc6a
parent1fdf6d4fe7adc13aaf81ff5e44923724d120d528 (diff)
downloadcdo-0ed388eee2b1a727d14d5644d411d1bff8ff6ca6.zip
cdo-0ed388eee2b1a727d14d5644d411d1bff8ff6ca6.tar.gz
cdo-0ed388eee2b1a727d14d5644d411d1bff8ff6ca6.tar.bz2
[205027] Implement challenge/response based negotiator
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205027
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java2
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/ConnectorTest.java6
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java
index d0b68f3..fe1eb3b 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java
@@ -33,7 +33,7 @@ public class AllTests
suite.addTestSuite(SynchronizingCorrelatorTest.class);
suite.addTestSuite(TestBufferPool.class);
suite.addTestSuite(SecurityTest.class);
- // TODO suite.addTestSuite(ConnectorTest.class);
+ suite.addTestSuite(ConnectorTest.class);
// $JUnit-END$
return suite;
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/ConnectorTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/ConnectorTest.java
index 7dd994c..dd2ae18 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/ConnectorTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/ConnectorTest.java
@@ -35,7 +35,7 @@ import java.util.concurrent.Executors;
*/
public class ConnectorTest extends AbstractOMTest
{
- private static final int TIMEOUT = 5000;
+ private static final int TIMEOUT = 1000;
private static final String USER_ID = "stepper";
@@ -68,7 +68,7 @@ public class ConnectorTest extends AbstractOMTest
@Override
protected void doTearDown() throws Exception
{
- sleep(100);
+ sleep(TIMEOUT);
LifecycleUtil.deactivate(responseNegotiator);
LifecycleUtil.deactivate(credentialsProvider);
@@ -194,7 +194,7 @@ public class ConnectorTest extends AbstractOMTest
assertEquals(true, connected);
}
- public void _testNegotiationFailure() throws Exception
+ public void testNegotiationFailure() throws Exception
{
ExecutorService threadPool = Executors.newCachedThreadPool();
LifecycleUtil.activate(threadPool);