diff options
Diffstat (limited to 'test/src/java')
-rw-r--r-- | test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java b/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java index 522148e..0728b44 100644 --- a/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java +++ b/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java @@ -43,6 +43,8 @@ import static com.healthmarketscience.jackcess.DatabaseTest.*; */ public class BigIndexTest extends TestCase { + private String _oldBigIndexValue = null; + /** * Creates a new <code>IndexTest</code> instance. * @@ -53,13 +55,14 @@ public class BigIndexTest extends TestCase { @Override protected void setUp() { + _oldBigIndexValue = System.getProperty(Database.USE_BIG_INDEX_PROPERTY); System.setProperty(Database.USE_BIG_INDEX_PROPERTY, Boolean.TRUE.toString()); } @Override protected void tearDown() { - System.clearProperty(Database.USE_BIG_INDEX_PROPERTY); + System.setProperty(Database.USE_BIG_INDEX_PROPERTY, _oldBigIndexValue); } public void testComplexIndex() throws Exception |