Github user afs commented on the issue:

    https://github.com/apache/jena/pull/151
  
    I have just pushed a branch to https://github.com/afs/jena/tree/http_op
    where the tests+setup are extracted into a single class 
`AFS_TestRemoteEndpointConnection` and if this is called twice (see 
`AFS_TS_Debug`) I get one failure on the second run.
    
    The other test is now no more than add a quad and then:
    ```
        JenaConnection conn = this.getConnection(ds);
        conn.close();
    ```
    In fact, adding and deleting the test quad still makes the test fail.
    
    My best guess at the moment is that `ServerTest.resetServer();` is broken 
(look for `//AFS Suspect`).
    
    It is the only use of `UpdateExecutionFactory.createRemote`.
    
    If a no-op SPARQL Update is done:
    ```
      UpdateRequest request = UpdateFactory.create("INSERT DATA {}") ;
      UpdateProcessor proc = UpdateExecutionFactory.createRemote(request, 
ServerTest.serviceUpdate) ;
    ```
    there is still a test failure. This is the [AFS-debug-2 
commit](https://github.com/afs/jena/commit/7f4030ffd0db394ac1e5ad1bbca2c84a2edce4c7).
    
    Dropping the server and recreating - everything is fine.
    
    Resetting the server in the overall test suite, not between classes - 
everything is fine.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to