public void test_multiTenancy_2023() throws Exception {
  final String ns1="namespace1";
  final String ns2="namespace2";
  final String ns3="namespace3";
  createNamespace(ns1);
  createNamespace(ns2);
  createNamespace(ns3);
  loadStatements(ns1,10000);
  loadStatements(ns2,10000);
  loadStatements(ns3,10000);
  simpleQuery(ns1);
  simpleQuery(ns2);
  simpleQuery(ns3);
  try {
    forceAbort(ns1);
  }
 catch (  Throwable t) {
    t.printStackTrace();
  }
  loadStatements(ns2,1000);
  try {
    forceAbort(ns2);
  }
 catch (  Throwable t) {
    t.printStackTrace();
  }
  dropGraph(ns2);
  dropGraph(ns1);
  simpleQuery(ns1);
  simpleQuery(ns2);
  simpleQuery(ns3);
  loadStatements(ns2,1000);
}

public void test_multiTenancy_2023 ( ) throws Exception { final String ns1 = "namespace1" ; final String ns2 = "namespace2" ; final String ns3 = "namespace3" ; createNamespace ( ns1 ) ; createNamespace ( ns2 ) ; createNamespace ( ns3 ) ; loadStatements ( ns1 , 10000 ) ; loadStatements ( ns2 , 10000 ) ; loadStatements ( ns3 , 10000 ) ; simpleQuery ( ns1 ) ; simpleQuery ( ns2 ) ; simpleQuery ( ns3 ) ; try { forceAbort ( ns1 ) ; } catch ( Throwable t ) { t . printStackTrace ( ) ; } loadStatements ( ns2 , 1000 ) ; try { forceAbort ( ns2 ) ; } catch ( Throwable t ) { t . printStackTrace ( ) ; } dropGraph ( ns2 ) ; dropGraph ( ns1 ) ; simpleQuery ( ns1 ) ; simpleQuery ( ns2 ) ; simpleQuery ( ns3 ) ; loadStatements ( ns2 , 1000 ) ; }
we are seeing a problem where multiple namespaces are used and an aborted operation on one namespace causes problems with another .
