You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2015/06/12 14:32:56 UTC
incubator-tinkerpop git commit: commented out the high range
assertions in ProfileTest as they tend to fail from time to time in some
environments
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 2507140d5 -> 89d0ac57b
commented out the high range assertions in ProfileTest as they tend to fail from time to time in some environments
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/89d0ac57
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/89d0ac57
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/89d0ac57
Branch: refs/heads/master
Commit: 89d0ac57b13b31254d5c6db3f233b785a8f49bf1
Parents: 2507140
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Fri Jun 12 14:32:38 2015 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Fri Jun 12 14:32:38 2015 +0200
----------------------------------------------------------------------
.../process/traversal/step/sideEffect/ProfileTest.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/89d0ac57/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/ProfileTest.java
----------------------------------------------------------------------
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/ProfileTest.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/ProfileTest.java
index 09d8767..017f9ea 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/ProfileTest.java
+++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/ProfileTest.java
@@ -189,15 +189,15 @@ public abstract class ProfileTest extends AbstractGremlinProcessTest {
// 6 elements w/ a 10ms sleep each = 60ms with 10ms for other computation.
assertTrue("Duration should be at least the length of the sleep (59ms): " + metrics.getDuration(TimeUnit.MILLISECONDS),
metrics.getDuration(TimeUnit.MILLISECONDS) >= 59);
- assertTrue("Check that duration is within tolerant range: " + metrics.getDuration(TimeUnit.MILLISECONDS),
- metrics.getDuration(TimeUnit.MILLISECONDS) < 130);
+ //assertTrue("Check that duration is within tolerant range: " + metrics.getDuration(TimeUnit.MILLISECONDS),
+ // metrics.getDuration(TimeUnit.MILLISECONDS) < 130);
// 6 elements w/ a 5ms sleep each = 30ms plus 20ms for other computation
metrics = traversalMetrics.getMetrics(2);
assertTrue("Duration should be at least the length of the sleep (29ms): " + metrics.getDuration(TimeUnit.MILLISECONDS),
metrics.getDuration(TimeUnit.MILLISECONDS) >= 29);
- assertTrue("Check that duration is within tolerant range: " + metrics.getDuration(TimeUnit.MILLISECONDS),
- metrics.getDuration(TimeUnit.MILLISECONDS) < 70);
+ //assertTrue("Check that duration is within tolerant range: " + metrics.getDuration(TimeUnit.MILLISECONDS),
+ // metrics.getDuration(TimeUnit.MILLISECONDS) < 70);
double totalPercentDuration = 0;
for (Metrics m : traversalMetrics.getMetrics()) {
@@ -350,4 +350,4 @@ public abstract class ProfileTest extends AbstractGremlinProcessTest {
return (Traversal) g.V().where(__.in("created").count().is(1l)).values("name").profile();
}
}
-}
\ No newline at end of file
+}