Neo4j and TravisCI - cypher create does not pass

33 views
Skip to first unread message

Christophe Willemsen

unread,
Aug 10, 2012, 7:33:19 PM8/10/12
to ne...@googlegroups.com
Hello,

I have a simple cypher create command with parameters.

My test pass successfully locally with last neo4j version. However on TravisCI the test does not pass.

Here is the build with the stacktrace

http://travis-ci.org/#!/neoxygen/updown/jobs/2090955

The request I use:

POST /db/data/cypher HTTP/1.1
Host: localhost:7474
User-Agent: Guzzle/2.7.1 curl/7.22.0 PHP/5.3.10-1ubuntu3.2 openssl/OpenSSL/1.0.1
Expect: 100-Continue
Content-Length: 100
Accept: application/json
Content-Type: application/json

{"query":"CREATE n={node} return n","params":{"node":{"name":"Angus Young","_uid":"502599dbea984"}}}

I repeat that my test pass in local but not on Travis.

Thanks for your tips.


Michael Hunger

unread,
Aug 10, 2012, 7:43:07 PM8/10/12
to ne...@googlegroups.com
There might be an older version of neo4j running on travis.ci

HTH

Michael

Christophe Willemsen

unread,
Aug 10, 2012, 8:28:08 PM8/10/12
to ne...@googlegroups.com
Hi Michael,

Thanks for your answer.

So currently Travis use latest stable release 1.7.2, after looking in the doc, it seems that CREATE with cypher was not yet supported in 1.7.2.

Cheers,


Michael Hunger

unread,
Aug 10, 2012, 8:30:18 PM8/10/12
to ne...@googlegroups.com
No,

updating features were only added in 1.8

but as pointed out in the email thread, you can easily pull your own version of neo4j and run it.

Michael

Christophe Willemsen

unread,
Aug 10, 2012, 8:37:26 PM8/10/12
to ne...@googlegroups.com
Well in the thread I see that the person (Michael) from Travis is recommending to use the preinstalled version of the build.

In fact I can easilly download the latest release of Neo4j or just skipping tests if version is under 1.8, not a big deal.

Cheers,

Christophe
Reply all
Reply to author
Forward
0 new messages