You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dj...@apache.org on 2016/07/07 16:31:11 UTC

[4/7] incubator-quarks git commit: Ensure tests pass

Ensure tests pass


Project: http://git-wip-us.apache.org/repos/asf/incubator-quarks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quarks/commit/aa330201
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quarks/tree/aa330201
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quarks/diff/aa330201

Branch: refs/heads/master
Commit: aa33020166c2faae179f36a0aebc7e3aa9a6880d
Parents: 6f2fe03
Author: Daniel J. Debrunner <de...@us.ibm.com>
Authored: Tue Jul 5 09:51:34 2016 -0700
Committer: Daniel J. Debrunner <de...@us.ibm.com>
Committed: Tue Jul 5 09:51:34 2016 -0700

----------------------------------------------------------------------
 .../java/quarks/test/topology/services/TestApplications.java     | 2 +-
 .../src/test/java/quarks/test/fvt/iot/IotAppServiceTest.java     | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/aa330201/api/topology/src/test/java/quarks/test/topology/services/TestApplications.java
----------------------------------------------------------------------
diff --git a/api/topology/src/test/java/quarks/test/topology/services/TestApplications.java b/api/topology/src/test/java/quarks/test/topology/services/TestApplications.java
index 6b37b18..378dc0e 100644
--- a/api/topology/src/test/java/quarks/test/topology/services/TestApplications.java
+++ b/api/topology/src/test/java/quarks/test/topology/services/TestApplications.java
@@ -36,7 +36,7 @@ public class TestApplications {
 
         @Override
         public BiConsumer<Topology, JsonObject> getBuilder() {
-            return (t,c) -> t.strings(getName());
+            return (t,c) -> t.strings(getName()).print();
         }     
     }
     

http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/aa330201/test/fvtiot/src/test/java/quarks/test/fvt/iot/IotAppServiceTest.java
----------------------------------------------------------------------
diff --git a/test/fvtiot/src/test/java/quarks/test/fvt/iot/IotAppServiceTest.java b/test/fvtiot/src/test/java/quarks/test/fvt/iot/IotAppServiceTest.java
index f33941b..1a93960 100644
--- a/test/fvtiot/src/test/java/quarks/test/fvt/iot/IotAppServiceTest.java
+++ b/test/fvtiot/src/test/java/quarks/test/fvt/iot/IotAppServiceTest.java
@@ -79,9 +79,13 @@ public class IotAppServiceTest {
         JsonElement crr = control.controlRequest(registerJar);    
         assertTrue(crr.getAsBoolean());
         
+        Thread.sleep(500);
+        
         JsonObject submitAppTwo = newSubmitRequest("SecondJarApp");        
         crr = control.controlRequest(submitAppTwo);      
         assertTrue(crr.getAsBoolean());
+        
+        Thread.sleep(500);
     }
     
     public static JsonObject newSubmitRequest(String name) {