diff --git a/distributed/src/test/java/com/orientechnologies/orient/server/distributed/DistributedSecurityTest.java b/distributed/src/test/java/com/orientechnologies/orient/server/distributed/DistributedSecurityTest.java
index <HASH>..<HASH> 100755
--- a/distributed/src/test/java/com/orientechnologies/orient/server/distributed/DistributedSecurityTest.java
+++ b/distributed/src/test/java/com/orientechnologies/orient/server/distributed/DistributedSecurityTest.java
@@ -56,8 +56,8 @@ public class DistributedSecurityTest extends AbstractServerClusterTest {
 
         try {
           // TRY DELETING ALL OUSER VIA COMMAND
-          g.command(new OCommandSQL("delete from OUser")).execute();
-          Assert.assertTrue(false);
+          Long deleted = g.command(new OCommandSQL("delete from OUser")).execute();
+          Assert.assertEquals(deleted.longValue(), 0l);
         } catch (Exception e) {
           Assert.assertTrue(true);
         }
Fixed test case according to the restricted visibility of reader/writer on OUser class/cluster