package org.infinispan.scattered;

import org.infinispan.configuration.cache.CacheMode;
import org.infinispan.distribution.DistSkipRemoteLookupTest;
import org.testng.annotations.Test;

/**
 * @author Radim Vansa &lt;rvansa@redhat.com&gt;
 */
@Test(groups = "functional", testName = "scattered.ScatteredSkipRemoteLookupTest")
public class ScatteredSkipRemoteLookupTest extends DistSkipRemoteLookupTest {
   public ScatteredSkipRemoteLookupTest() {
      cacheMode = CacheMode.SCATTERED_SYNC;
      numOwners = 1;
      l1CacheEnabled = false;
   }

   @Override
   protected void assertOwnershipAndNonOwnership(Object key, boolean allowL1) {
      Utils.assertOwnershipAndNonOwnership(caches, key);
   }
}
