You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by pl...@apache.org on 2016/06/08 04:44:02 UTC
[1/3] incubator-tinkerpop git commit: use graph class as root class
to find temporary directory
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/tp31 219677428 -> 19c77916e
use graph class as root class to find temporary directory
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/e7b7d149
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/e7b7d149
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/e7b7d149
Branch: refs/heads/tp31
Commit: e7b7d14999ad871cfbf31482a58328a15c1b0551
Parents: 029f56b
Author: Jason Plurad <pl...@us.ibm.com>
Authored: Fri Jun 3 13:03:19 2016 -0400
Committer: Jason Plurad <pl...@us.ibm.com>
Committed: Wed Jun 8 00:11:31 2016 -0400
----------------------------------------------------------------------
docs/src/dev/provider/index.asciidoc | 5 +++++
.../org/apache/tinkerpop/gremlin/structure/io/IoGraphTest.java | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/e7b7d149/docs/src/dev/provider/index.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/dev/provider/index.asciidoc b/docs/src/dev/provider/index.asciidoc
index 2bbda92..2d51274 100644
--- a/docs/src/dev/provider/index.asciidoc
+++ b/docs/src/dev/provider/index.asciidoc
@@ -505,6 +505,11 @@ off for the test suite (the Maven SureFire Plugin is configured this way by defa
include this setting, `<reuseForks>false</reuseForks>`, in the SureFire configuration if tests are failing in an
unexplainable way.
+TIP: When running the `gremlin-test` suite against your implementation, you may need to set `build.dir` as an
+environment variable, depending on your project layout. Some tests require this to find a writable directory for
+creating temporary files. The value is typically set to the project build directory. For example using the Maven
+SureFire Plugin, this is done via the configuration argLine with `-Dbuild.dir=${project.build.directory}`.
+
Accessibility via GremlinPlugin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/e7b7d149/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/IoGraphTest.java
----------------------------------------------------------------------
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/IoGraphTest.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/IoGraphTest.java
index fece4a9..618f62a 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/IoGraphTest.java
+++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/IoGraphTest.java
@@ -96,7 +96,7 @@ public class IoGraphTest extends AbstractGremlinTest {
@FeatureRequirement(featureClass = Graph.Features.EdgeFeatures.class, feature = Graph.Features.EdgeFeatures.FEATURE_ADD_EDGES)
@FeatureRequirement(featureClass = Graph.Features.VertexFeatures.class, feature = Graph.Features.VertexFeatures.FEATURE_ADD_VERTICES)
public void shouldReadWriteClassicToFileWithHelpers() throws Exception {
- final File f = TestHelper.generateTempFile(this.getClass(), name.getMethodName(), fileExtension);
+ final File f = TestHelper.generateTempFile(this.graph.getClass(), name.getMethodName(), fileExtension);
try {
graph.io(ioBuilderToTest).writeGraph(f.getAbsolutePath());
@@ -161,7 +161,7 @@ public class IoGraphTest extends AbstractGremlinTest {
@FeatureRequirement(featureClass = Graph.Features.EdgeFeatures.class, feature = Graph.Features.EdgeFeatures.FEATURE_ADD_EDGES)
@FeatureRequirement(featureClass = Graph.Features.VertexFeatures.class, feature = Graph.Features.VertexFeatures.FEATURE_ADD_VERTICES)
public void shouldReadWriteModernToFileWithHelpers() throws Exception {
- final File f = TestHelper.generateTempFile(this.getClass(), name.getMethodName(), fileExtension);
+ final File f = TestHelper.generateTempFile(this.graph.getClass(), name.getMethodName(), fileExtension);
try {
graph.io(ioBuilderToTest).writeGraph(f.getAbsolutePath());
[2/3] incubator-tinkerpop git commit: Merge branch 'TINKERPOP-1317'
into tp31
Posted by pl...@apache.org.
Merge branch 'TINKERPOP-1317' into tp31
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/142512c8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/142512c8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/142512c8
Branch: refs/heads/tp31
Commit: 142512c83f16f30668c52e20fda678a02808662d
Parents: 2196774 e7b7d14
Author: Jason Plurad <pl...@us.ibm.com>
Authored: Wed Jun 8 00:33:49 2016 -0400
Committer: Jason Plurad <pl...@us.ibm.com>
Committed: Wed Jun 8 00:41:24 2016 -0400
----------------------------------------------------------------------
docs/src/dev/provider/index.asciidoc | 5 +++++
.../org/apache/tinkerpop/gremlin/structure/io/IoGraphTest.java | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
[3/3] incubator-tinkerpop git commit: updated CHANGELOG
Posted by pl...@apache.org.
updated CHANGELOG
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/19c77916
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/19c77916
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/19c77916
Branch: refs/heads/tp31
Commit: 19c77916e3fe37b2cbc19d190ab4bffe7d55f64c
Parents: 142512c
Author: Jason Plurad <pl...@us.ibm.com>
Authored: Wed Jun 8 00:43:27 2016 -0400
Committer: Jason Plurad <pl...@us.ibm.com>
Committed: Wed Jun 8 00:43:27 2016 -0400
----------------------------------------------------------------------
CHANGELOG.asciidoc | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/19c77916/CHANGELOG.asciidoc
----------------------------------------------------------------------
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 8e0dd0e..b6235e2 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -26,6 +26,7 @@ image::https://raw.githubusercontent.com/apache/incubator-tinkerpop/master/docs/
TinkerPop 3.1.3 (NOT OFFICIALLY RELEASED YET)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+* Fixed bug in `IoGraphTest` causing IllegalArgumentException: URI is not hierarchical error for external graph implementations.
* Fixed a bug where timeout functions provided to the `GremlinExecutor` were not executing in the same thread as the script evaluation.
* Optimized a few special cases in `RangeByIsCountStrategy`.
* Named the thread pool used by Gremlin Server sessions: "gremlin-server-session-$n".