// would wait for ever since tx2 has write lock but now we have other
// thread thread that will commit tx2
refNode.removeProperty( "test2" );
assertTrue( thread.success() );
tm.commit();
neo2.shutdown();
}
private static class CommitThread extends Thread
{
private final TransactionManager tm;