{
// Generate some logical logs
String path = path( 10 );
for ( int i = 0; i < 3; i++ )
{
new EmbeddedGraphDatabase( path, stringMap( KEEP_LOGICAL_LOGS, "true" ) ).shutdown();
}
setOlderNeoStoreVersion( path );
new EmbeddedGraphDatabase( path, stringMap( ALLOW_STORE_UPGRADE, "true" ) ).shutdown();
File oldLogDir = new File( path, "1.2-logs" );
assertTrue( oldLogDir.exists() );
assertTrue( new File( oldLogDir, "nioneo_logical.log.v0" ).exists() );
assertTrue( new File( oldLogDir, "nioneo_logical.log.v1" ).exists() );