comms-router icon indicating copy to clipboard operation
comms-router copied to clipboard

PersistenceException on set state to ready

Open angel-popov opened this issue 7 years ago • 0 comments

When running tests in parallel: PersistanceException appears.


Description:Set state=ready of the agent Result:FAIL Request:curl -s -X POST 'http://localhost:8080/comms-router-web/api/routers/ekvMh2ygJXzspxNDtHESX4/agents/XByz0DLSM64DDdOMOhsKS6' -H 'Content-type:application/json' -d "{"address":"address","state":"ready","capabilities":{"language":"en"}}"

Response:{"error":{"code":"PersistenceException","description":"org.hibernate.exception.LockAcquisitionException: could not execute statement"}} Checks:FAIL - (:OBJ ("error" :OBJ ("code" . "PersistenceException") ("description" . "org.hibernate.exception.LockAcquisitionException: could not execute statement"))) should be equal to ""

angel-popov avatar Dec 19 '17 10:12 angel-popov