Skip to content

Commit

Permalink
CI test fixes, continued orientechnologies#5770
Browse files Browse the repository at this point in the history
  • Loading branch information
taburet committed May 11, 2016
1 parent 725ed9d commit a6f58f8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@ public void after() {
}

public void testDoubleDb() {
OObjectDatabaseTx db = new OObjectDatabaseTx(pool.acquire());
ODatabaseDocumentTx db = pool.acquire();

// now I am getting another db instance
OObjectDatabaseTx dbAnother = new OObjectDatabaseTx(pool.acquire());
ODatabaseDocumentTx dbAnother = pool.acquire();
dbAnother.close();

db.activateOnCurrentThread();
db.close();
}

public void testDoubleDbWindowsPath() {
OObjectDatabaseTx db = new OObjectDatabaseTx(pool.acquire());
ODatabaseDocumentTx db = pool.acquire();

// now I am getting another db instance
OObjectDatabaseTx dbAnother = new OObjectDatabaseTx(pool.acquire());
ODatabaseDocumentTx dbAnother = pool.acquire();
dbAnother.close();

db.activateOnCurrentThread();
Expand Down

0 comments on commit a6f58f8

Please sign in to comment.