blob: 1cad5abcd18c6b0a01fd4e56feb2e1718cbfa1ad [file] [log] [blame]
/*=========================================================================
* Copyright (c) 2010-2014 Pivotal Software, Inc. All Rights Reserved.
* This product is protected by U.S. and international copyright
* and intellectual property laws. Pivotal products are covered by
* one or more patents listed at http://www.pivotal.io/patents.
*=========================================================================
*/
package com.gemstone.gemfire.internal.cache.versions;
import org.junit.experimental.categories.Category;
import com.gemstone.gemfire.test.junit.categories.UnitTest;
/**
* A test of the region version holder, but using a smaller bit
* set so that we test the merging of exceptions functionality.
*/
@Category(UnitTest.class)
public class RegionVersionHolderSmallBitSetJUnitTest extends RegionVersionHolderJUnitTest {
@Override
protected void setUp() throws Exception {
super.setUp();
originalBitSetWidth = RegionVersionHolder.BIT_SET_WIDTH;
RegionVersionHolder.BIT_SET_WIDTH = 4;
}
protected void tearDown() throws Exception {
super.tearDown();
RegionVersionHolder.BIT_SET_WIDTH = originalBitSetWidth;
}
}