Distributed test failure was fixed.
package com.orientechnologies.orient.server.distributed;
import com.orientechnologies.orient.core.exception.ODatabaseException;
+import com.orientechnologies.orient.core.exception.OStorageDoesNotExistException;
import com.orientechnologies.orient.setup.ServerRun;
import org.junit.Assert;
import org.junit.Test;
@@ -44,8 +45,8 @@ public class DistributedDbDropIT extends AbstractServerClusterTxTest {
try {
serverInstance.get(i).getServerInstance().openDatabase(getDatabaseName());
Assert.fail("The database was not deleted on server " + i);
- } catch (ODatabaseException e) {
- Assert.assertTrue(e.getCause().getMessage().contains("it does not exist"));
+ } catch (OStorageDoesNotExistException e) {
+ //ignore
}
}
}
