Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2008-05-24 13:42:09 +0000
committermkuppe2008-05-24 13:42:09 +0000
commit42919230fc582e123494a77dab73a3a12f34eabe (patch)
tree4119961957ab2db0e410acd4b92b4c0bcace02fd
parentf7acd5e2d2bc4b49b7892da213027323ba7219b4 (diff)
downloadorg.eclipse.ecf-42919230fc582e123494a77dab73a3a12f34eabe.tar.gz
org.eclipse.ecf-42919230fc582e123494a77dab73a3a12f34eabe.tar.xz
org.eclipse.ecf-42919230fc582e123494a77dab73a3a12f34eabe.zip
RESOLVED - bug 233809: [Discovery][SLP] org.eclipse.ecf.tests.discovery.DiscoveryTest.addListenerRegisterAndWait(TestListener, IServiceInfo) wait unnecessarily longv20080526-0800
https://bugs.eclipse.org/bugs/show_bug.cgi?id=233809
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.provider.jmdns/src/org/eclipse/ecf/tests/provider/jmdns/JMDNSDiscoveryServiceTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.provider.jmdns/src/org/eclipse/ecf/tests/provider/jmdns/JMDNSDiscoveryServiceTest.java b/tests/bundles/org.eclipse.ecf.tests.provider.jmdns/src/org/eclipse/ecf/tests/provider/jmdns/JMDNSDiscoveryServiceTest.java
index cbe8a7b32..08effa49c 100755
--- a/tests/bundles/org.eclipse.ecf.tests.provider.jmdns/src/org/eclipse/ecf/tests/provider/jmdns/JMDNSDiscoveryServiceTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.provider.jmdns/src/org/eclipse/ecf/tests/provider/jmdns/JMDNSDiscoveryServiceTest.java
@@ -22,6 +22,7 @@ import org.eclipse.ecf.discovery.IServiceTypeEvent;
import org.eclipse.ecf.discovery.IServiceTypeListener;
import org.eclipse.ecf.discovery.ServiceInfo;
import org.eclipse.ecf.discovery.ServiceProperties;
+import org.eclipse.ecf.discovery.identity.IServiceID;
import org.eclipse.ecf.discovery.identity.ServiceIDFactory;
import org.eclipse.ecf.provider.jmdns.identity.JMDNSNamespace;
import org.eclipse.ecf.tests.discovery.DiscoveryTest;
@@ -51,7 +52,7 @@ public class JMDNSDiscoveryServiceTest extends DiscoveryTest {
final URI uri = new URI(JMDNSNamespace.JMDNS_SCHEME, null, InetAddress.getLocalHost().getHostAddress(), TEST_PORT, null, null, null);
- serviceID = ServiceIDFactory.getDefault().createServiceID(discoveryContainer.getServicesNamespace(), TEST_SERVICE_TYPE, new Date().getTime() + "");
+ IServiceID serviceID = ServiceIDFactory.getDefault().createServiceID(discoveryContainer.getServicesNamespace(), TEST_SERVICE_TYPE, new Date().getTime() + "");
assertNotNull(serviceID);
final ServiceProperties serviceProperties = new ServiceProperties();
serviceProperties.setPropertyString("serviceProperties", "serviceProperties");

Back to the top