X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=tests%2Forg.simantics.db.tests%2Fsrc%2Forg%2Fsimantics%2Fdb%2Ftests%2Fapi%2Fsupport%2FclusterControl%2FCachedDirectPredicatesWithNoCluster.java;h=a9698e744f946a3a14daa61fd92bb43d3d61ab2a;hp=19091b51862b5dcc552d70f80d8516d86aed8271;hb=7a7ad0a2319ce70a184e099adad8a69c23562bd9;hpb=7dd9579f2b8e3eabdad63c8cce46d5c7ff2e42fd diff --git a/tests/org.simantics.db.tests/src/org/simantics/db/tests/api/support/clusterControl/CachedDirectPredicatesWithNoCluster.java b/tests/org.simantics.db.tests/src/org/simantics/db/tests/api/support/clusterControl/CachedDirectPredicatesWithNoCluster.java index 19091b518..a9698e744 100644 --- a/tests/org.simantics.db.tests/src/org/simantics/db/tests/api/support/clusterControl/CachedDirectPredicatesWithNoCluster.java +++ b/tests/org.simantics.db.tests/src/org/simantics/db/tests/api/support/clusterControl/CachedDirectPredicatesWithNoCluster.java @@ -31,7 +31,12 @@ public class CachedDirectPredicatesWithNoCluster extends ExistingDatabaseTest { return graph.hasStatement(L0.Entity); } - }, new ListenerAdapter()); + }, new ListenerAdapter() { + @Override + public boolean isDisposed() { + return false; + } + }); ClusterControl support = getSession().getService(ClusterControl.class); support.collectClusters(Integer.MAX_VALUE);