使用org.neo4j.ogm.testutil.TestServer进行测试时,Neo4j似乎有死锁

时间:2016-07-17 12:00:25

标签: java neo4j spring-data-neo4j-4

我们使用org.neo4j.ogm.testutil.TestServer来集成测试我们的API。在测试执行期间,所有测试都会冻结(如死锁),每次都在同一个地方。这可能是我们对neo4j做错了吗?

Java版本 - 1.8.74。 neo4j版本 - 3.0.3

上次记录:

18:10:45.808 [qtp234760309-36] INFO  o.n.o.d.http.request.HttpRequest - Thread 36: request {"statements":[{"statement":"MATCH (n:`EmailAddressPasswordAccount`) WHERE n.`email` = { `email` } WITH n MATCH p=(n)-[*0..1]-(m) RETURN p, ID(n)","parameters":{"email":"johndeverall@gmail.com"},"resultDataContents":["graph","row"],"includeStats":false}]}
18:10:45.811 [qtp234760309-36] INFO  o.n.o.d.http.request.HttpRequest - Thread 36: POST http://localhost:7474/db/data/transaction/commit HTTP/1.1
18:10:46.170 [qtp234760309-36] INFO  o.n.o.d.http.request.HttpRequest - Thread 36: POST http://localhost:7474/db/data/transaction HTTP/1.1
18:10:46.205 [qtp234760309-36] INFO  o.n.o.d.http.request.HttpRequest - Thread 36: request {"statements":[{"statement":"UNWIND {rows} as row CREATE (n:`EmailAddressPasswordAccount`:`Account`) SET n=row.props RETURN row.nodeRef as nodeRef, ID(n) as nodeId","parameters":{"rows":[{"nodeRef":-132953529,"props":{"password":"testtest","sceneId":"tPfD4WyJSCqi1Wt-ruWJ4A","emailConfirmationCode":"uvduK8F4TRKeJbiA745BsQ","email":"johndeverall@gmail.com"}}]},"resultDataContents":["row"],"includeStats":false},{"statement":"UNWIND {rows} as row CREATE (n:`Member`) SET n=row.props RETURN row.nodeRef as nodeRef, ID(n) as nodeId","parameters":{"rows":[{"nodeRef":-485863866,"props":{"firstName":"Some","lastName":"Some","sceneId":"tIEji2KnTR-boD7LyQDamg"}}]},"resultDataContents":["row"],"includeStats":false}]}
18:10:46.209 [qtp234760309-36] INFO  o.n.o.d.http.request.HttpRequest - Thread 36: POST http://localhost:7474/db/data/transaction/4 HTTP/1.1
18:10:48.191 [qtp234760309-36] INFO  o.n.o.d.http.request.HttpRequest - Thread 36: request {"statements":[{"statement":"UNWIND {rows} as row MATCH (startNode) WHERE ID(startNode) = row.startNodeId MATCH (endNode) WHERE ID(endNode) = row.endNodeId MERGE (startNode)-[rel:`SIGN_IN_MECHANISM`]->(endNode) RETURN row.relRef as relRefId, ID(rel) as relId","parameters":{"rows":[{"startNodeId":1,"relRef":-96372006,"endNodeId":0}]},"resultDataContents":["row"],"includeStats":false}]}
18:10:48.194 [qtp234760309-36] INFO  o.n.o.d.http.request.HttpRequest - Thread 36: POST http://localhost:7474/db/data/transaction/4 HTTP/1.1
18:10:48.801 [qtp234760309-36] INFO  o.n.o.d.http.request.HttpRequest - Thread 36: POST http://localhost:7474/db/data/transaction/4/commit HTTP/1.1
18:10:49.434 [qtp234760309-36] INFO  o.n.o.d.http.request.HttpRequest - Thread 36: request {"statements":[{"statement":"UNWIND {rows} as row MATCH (n) WHERE ID(n)=row.nodeId SET n:`Member` SET n += row.props","parameters":{"rows":[{"nodeId":1,"props":{"loadAllMembersAssociatedWithSocialServiceProvider":null,"firstName":"Some","lastName":"Some","mergeConfirmationCode":null,"phoneNumber":"555-5555","sceneId":"tIEji2KnTR-boD7LyQDamg","mergeRequesterSceneId":null}}]},"resultDataContents":["row"],"includeStats":false}]}
18:10:49.437 [qtp234760309-36] INFO  o.n.o.d.http.request.HttpRequest - Thread 36: POST http://localhost:7474/db/data/transaction/commit HTTP/1.1

0 个答案:

没有答案