You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2017/10/08 18:31:04 UTC

juddi git commit: NOJIRA attempting to fix test failures on bb

Repository: juddi
Updated Branches:
  refs/heads/master 2b0b6c13e -> 1b9d1b902


NOJIRA attempting to fix test failures on bb


Project: http://git-wip-us.apache.org/repos/asf/juddi/repo
Commit: http://git-wip-us.apache.org/repos/asf/juddi/commit/1b9d1b90
Tree: http://git-wip-us.apache.org/repos/asf/juddi/tree/1b9d1b90
Diff: http://git-wip-us.apache.org/repos/asf/juddi/diff/1b9d1b90

Branch: refs/heads/master
Commit: 1b9d1b902ade14b0970739efcd1e7e5ef3534d15
Parents: 2b0b6c1
Author: Alex O'Ree <al...@apache.org>
Authored: Sun Oct 8 14:29:32 2017 -0400
Committer: Alex O'Ree <al...@apache.org>
Committed: Sun Oct 8 14:29:32 2017 -0400

----------------------------------------------------------------------
 ...090_SubscriptionListenerIntegrationBase.java | 24 +-------------------
 1 file changed, 1 insertion(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/juddi/blob/1b9d1b90/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationBase.java
----------------------------------------------------------------------
diff --git a/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationBase.java b/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationBase.java
index 22191e1..890b0d2 100644
--- a/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationBase.java
+++ b/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationBase.java
@@ -116,28 +116,6 @@ public abstract class UDDI_090_SubscriptionListenerIntegrationBase {
                         return;
                 }
                 try {
-                        /*                 smtpPort = 9700 + new Random().nextInt(99);
-                         httpPort = 9600 + new Random().nextInt(99);
-                         Properties properties = new Properties();
-                         properties.setProperty("juddi.mail.smtp.host", "localhost");
-                         properties.setProperty("juddi.mail.smtp.port", String.valueOf(smtpPort));
-                         properties.setProperty("juddi.mail.smtp.from", "jUDDI@example.org");
-                         String version = Release.getRegistryVersion().replaceAll(".SNAPSHOT", "-SNAPSHOT");
-                         String curDir = System.getProperty("user.dir");
-                         if (!curDir.endsWith("uddi-tck")) {
-                         curDir += "/uddi-tck";
-                         }
-                         String path = curDir + "/target/juddi-tomcat-" + version + "/temp/";
-                         System.out.println("Saving jUDDI email properties to " + path);
-                         File tmpDir = new File(path);
-                         File tmpFile = new File(tmpDir + "/juddi-mail.properties");
-                         if (!tmpFile.createNewFile()) {
-                         tmpFile.delete();
-                         tmpFile.createNewFile();
-                         }
-                         properties.store(new FileOutputStream(tmpFile), "tmp email settings");
-                         */
-
                         manager = new UDDIClient();
                         manager.start();
 
@@ -513,7 +491,7 @@ public abstract class UDDI_090_SubscriptionListenerIntegrationBase {
                         logger.info("updating Mary's tModel ********** ");
                         updateTModel(authInfoMary, saveMaryPublisherTmodel, publicationMary);
 
-                        boolean found = verifyDelivery("a new description");
+                        boolean found = verifyDelivery(TckTModel.MARY_PUBLISHER_TMODEL_KEY);
 
                         if (!found) {
                                 TckCommon.PrintMarker();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org