In travis-ci.org I finally got testify tests to pass after using
py2neo==1.4.5 as suggested.

$ testify tests

........................................The CMA read 5 packets.

The CMA wrote 25 packets.

.....

PASSED. 45 tests / 15 cases: 45 passed, 0 failed. (Total test time 35.12s)


In drone-io, I'm still having issues, even though I'm using py2neo==1.4.5
(even tried with 1.4.0 for good measure, same result). I've also tried to
run "testify tests" with sudo in case it made a difference (it didnt)

$ testify tests
........................................error: tests.cma_test
TestCMABasic.test_several_startups
Traceback (most recent call last):
  File "./tests/cma_test.py", line 418, in test_several_startups
    CMAdb.initglobal(io, True)
  File "./cmadb.py", line 133, in initglobal
    CMAdb.cdb = CMAdb()
  File "./cmadb.py", line 77, in __init__
    self.db = neo4j.GraphDatabaseService(url)
  File "/usr/local/lib/python2.7/dist-packages/py2neo/neo4j.py", line
557, in __init__
    rs = self._send(rest.Request(self, "GET", self._uri))
  File "/usr/local/lib/python2.7/dist-packages/py2neo/rest.py", line
372, in _send
    raise SocketError(err)
SocketError: error(111, 'Connection refused')

E....
FAILED.  45 tests / 15 cases: 44 passed, 1 failed.  (Total test time 0.34s)

Here's the full log: https://drone.io/github.com/borgified/assimmon-ci-test/12

There were some warning messages while installing PyYaml but I didnt
think that mattered since it said it was successfully installed.

Maybe this isnt really worth fixing anyway if we're going to use something
else besides py2neo

-- JC



On Sun, Apr 28, 2013 at 11:56 AM, Alan Robertson <[email protected]> wrote:

> Hi,
>
> Current code has problems with the latest version of py2neo.  For things
> to work at the moment, you'll have to use a version of py2neo before 1.5.
>
> Right now I'm tied up writing a paper I hope to present at LISA 2013.  I
> should be able to look at this and fix it late next week.
>
> I also think I'll have to rethink how I use py2neo - since the author
> isn't interested in keeping a stable API.  This is the second major API
> change he's made since I started using it.
>
> Might eventually have to do something different - time will tell...
>
>
>
> --
>     Alan Robertson <[email protected]> - @OSSAlanR
>
> "Openness is the foundation and preservative of friendship...  Let me
> claim from you at all times your undisguised opinions." - William
> Wilberforce
> _______________________________________________
> Assimilation mailing list - Discovery-Driven Monitoring
> [email protected]
> http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
> http://assimmon.org/
>
_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/

Reply via email to