mirror of
https://github.com/berkeleydb/libdb.git
synced 2024-11-16 09:06:25 +00:00
851 lines
No EOL
25 KiB
XML
851 lines
No EOL
25 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Assembly>
|
|
<TestFixture name="DatabaseConfigTest">
|
|
<Test name="TestConfigWithoutEnv">
|
|
<AutoCommit>True</AutoCommit>
|
|
<ByteOrder>1234</ByteOrder>
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<DoChecksum>True</DoChecksum>
|
|
<ErrorPrefix>TestDatabaseConfig</ErrorPrefix>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<NoMMap>True</NoMMap>
|
|
<NonDurableTxns>True</NonDurableTxns>
|
|
<PageSize>8196</PageSize>
|
|
<Priority>HIGH</Priority>
|
|
<ReadOnly>True</ReadOnly>
|
|
<ReadUncommitted>True</ReadUncommitted>
|
|
<Encryption>
|
|
<password>123</password>
|
|
<algorithm>AES</algorithm>
|
|
</Encryption>
|
|
<Truncate>True</Truncate>
|
|
<UseEncryption>True</UseEncryption>
|
|
<UseMVCC>True</UseMVCC>
|
|
</Test>
|
|
<Test name="TestConfigWithEnv">
|
|
<Env>
|
|
<Create>True</Create>
|
|
<CreationDir>.//test_DB</CreationDir>
|
|
<DataDir>.//test_DB</DataDir>
|
|
<ErrorPrefix>TestDatabaseConfigWithEnv</ErrorPrefix>
|
|
</Env>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="BTreeDatabaseConfigTest">
|
|
<Test name="TestConfigWithoutEnv">
|
|
<AutoCommit>False</AutoCommit>
|
|
<ByteOrder>1234</ByteOrder>
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<Creation>ALWAYS</Creation>
|
|
<DoChecksum>False</DoChecksum>
|
|
<Duplicates>UNSORTED</Duplicates>
|
|
<Encryption>
|
|
<password>123</password>
|
|
<algorithm>AES</algorithm>
|
|
</Encryption>
|
|
<ErrorPrefix>TestDatabaseConfig</ErrorPrefix>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<MinKeysPerPage>64</MinKeysPerPage>
|
|
<NoMMap>False</NoMMap>
|
|
<NonDurableTxns>False</NonDurableTxns>
|
|
<NoReverseSplitting>True</NoReverseSplitting>
|
|
<PageSize>8192</PageSize>
|
|
<Priority>HIGH</Priority>
|
|
<ReadOnly>False</ReadOnly>
|
|
<ReadUncommitted>False</ReadUncommitted>
|
|
<Truncate>False</Truncate>
|
|
<UseEncryption>True</UseEncryption>
|
|
<UseMVCC>False</UseMVCC>
|
|
<UseRecordNumbers>False</UseRecordNumbers>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="BTreeDatabaseTest">
|
|
<Test name="TestOpenNewBtreeDB">
|
|
<AutoCommit>False</AutoCommit>
|
|
<ByteOrder>1234</ByteOrder>
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<Creation>ALWAYS</Creation>
|
|
<DoChecksum>False</DoChecksum>
|
|
<Duplicates>UNSORTED</Duplicates>
|
|
<ErrorPrefix>TestDatabaseConfig</ErrorPrefix>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<HasMultiple>True</HasMultiple>
|
|
<MinKeysPerPage>64</MinKeysPerPage>
|
|
<NoMMap>False</NoMMap>
|
|
<NonDurableTxns>False</NonDurableTxns>
|
|
<NoReverseSplitting>True</NoReverseSplitting>
|
|
<PageSize>8192</PageSize>
|
|
<Priority>HIGH</Priority>
|
|
<ReadOnly>False</ReadOnly>
|
|
<ReadUncommitted>False</ReadUncommitted>
|
|
<Encryption>
|
|
<password>123</password>
|
|
<algorithm>AES</algorithm>
|
|
</Encryption>
|
|
<Truncate>False</Truncate>
|
|
<UseEncryption>True</UseEncryption>
|
|
<UseMVCC>False</UseMVCC>
|
|
<UseRecordNumbers>False</UseRecordNumbers>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="HashDatabaseConfigTest">
|
|
<Test name="TestConfigWithoutEnv">
|
|
<AutoCommit>False</AutoCommit>
|
|
<ByteOrder>1234</ByteOrder>
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<Creation>ALWAYS</Creation>
|
|
<DoChecksum>False</DoChecksum>
|
|
<Duplicates>UNSORTED</Duplicates>
|
|
<ErrorPrefix>TestConfigWithoutEnv</ErrorPrefix>
|
|
<FillFactor>7</FillFactor>
|
|
<FreeThreaded>False</FreeThreaded>
|
|
<NoMMap>True</NoMMap>
|
|
<NonDurableTxns>True</NonDurableTxns>
|
|
<NumElements>100</NumElements>
|
|
<PageSize>8192</PageSize>
|
|
<Priority>HIGH</Priority>
|
|
<ReadOnly>False</ReadOnly>
|
|
<ReadUncommitted>False</ReadUncommitted>
|
|
<Encryption>
|
|
<password>123</password>
|
|
<algorithm>AES</algorithm>
|
|
</Encryption>
|
|
<Truncate>False</Truncate>
|
|
<UseEncryption>True</UseEncryption>
|
|
<UseMVCC>False</UseMVCC>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="HashDatabaseTest">
|
|
<Test name="TestOpenNewHashDB">
|
|
<AutoCommit>False</AutoCommit>
|
|
<ByteOrder>1234</ByteOrder>
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<Creation>ALWAYS</Creation>
|
|
<DoChecksum>False</DoChecksum>
|
|
<Duplicates>UNSORTED</Duplicates>
|
|
<ErrorPrefix>TestDatabaseConfig</ErrorPrefix>
|
|
<FillFactor>2</FillFactor>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<HasMultiple>False</HasMultiple>
|
|
<NoMMap>False</NoMMap>
|
|
<NonDurableTxns>False</NonDurableTxns>
|
|
<NumElements>10</NumElements>
|
|
<PageSize>8192</PageSize>
|
|
<Priority>HIGH</Priority>
|
|
<ReadOnly>False</ReadOnly>
|
|
<ReadUncommitted>False</ReadUncommitted>
|
|
<Encryption>
|
|
<password>123</password>
|
|
<algorithm>AES</algorithm>
|
|
</Encryption>
|
|
<Truncate>False</Truncate>
|
|
<UseMVCC>False</UseMVCC>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="HeapDatabaseConfigTest">
|
|
<Test name="TestConfigWithoutEnv">
|
|
<AutoCommit>False</AutoCommit>
|
|
<ByteOrder>1234</ByteOrder>
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<Creation>ALWAYS</Creation>
|
|
<DoChecksum>False</DoChecksum>
|
|
<Duplicates>UNSORTED</Duplicates>
|
|
<ErrorPrefix>TestConfigWithoutEnv</ErrorPrefix>
|
|
<FreeThreaded>False</FreeThreaded>
|
|
<NoMMap>True</NoMMap>
|
|
<NonDurableTxns>True</NonDurableTxns>
|
|
<PageSize>8192</PageSize>
|
|
<Priority>HIGH</Priority>
|
|
<ReadOnly>False</ReadOnly>
|
|
<ReadUncommitted>False</ReadUncommitted>
|
|
<Encryption>
|
|
<password>123</password>
|
|
<algorithm>AES</algorithm>
|
|
</Encryption>
|
|
<Truncate>False</Truncate>
|
|
<UseEncryption>True</UseEncryption>
|
|
<UseMVCC>False</UseMVCC>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="HeapDatabaseTest">
|
|
<Test name="TestOpenNewHeapDB">
|
|
<AutoCommit>False</AutoCommit>
|
|
<ByteOrder>1234</ByteOrder>
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<Creation>ALWAYS</Creation>
|
|
<DoChecksum>False</DoChecksum>
|
|
<Duplicates>UNSORTED</Duplicates>
|
|
<ErrorPrefix>TestDatabaseConfig</ErrorPrefix>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<HasMultiple>False</HasMultiple>
|
|
<NoMMap>False</NoMMap>
|
|
<NonDurableTxns>False</NonDurableTxns>
|
|
<PageSize>8192</PageSize>
|
|
<Priority>HIGH</Priority>
|
|
<ReadOnly>False</ReadOnly>
|
|
<ReadUncommitted>False</ReadUncommitted>
|
|
<Encryption>
|
|
<password>123</password>
|
|
<algorithm>AES</algorithm>
|
|
</Encryption>
|
|
<Truncate>False</Truncate>
|
|
<UseMVCC>False</UseMVCC>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="RecnoDatabaseConfigTest">
|
|
<Test name="TestConfigWithoutEnv">
|
|
<AutoCommit>False</AutoCommit>
|
|
<BackingFile>../backing.log</BackingFile>
|
|
<ByteOrder>1234</ByteOrder>
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<ConsumeInOrder>True</ConsumeInOrder>
|
|
<Creation>IF_NEEDED</Creation>
|
|
<Delimiter>10</Delimiter>
|
|
<DoChecksum>True</DoChecksum>
|
|
<Duplicates>UNSORTED</Duplicates>
|
|
<ErrorPrefix>TestDatabaseConfig</ErrorPrefix>
|
|
<ExtentSize>2</ExtentSize>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<Length>100</Length>
|
|
<PadByte>10</PadByte>
|
|
<NoMMap>False</NoMMap>
|
|
<NonDurableTxns>True</NonDurableTxns>
|
|
<PageSize>8192</PageSize>
|
|
<Priority>HIGH</Priority>
|
|
<ReadOnly>True</ReadOnly>
|
|
<ReadUncommitted>True</ReadUncommitted>
|
|
<Renumber>True</Renumber>
|
|
<Encryption>
|
|
<password>123</password>
|
|
<algorithm>AES</algorithm>
|
|
</Encryption>
|
|
<Snapshot>True</Snapshot>
|
|
<Truncate>True</Truncate>
|
|
<UseEncryption>True</UseEncryption>
|
|
<UseMVCC>True</UseMVCC>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="QueueDatabaseConfigTest">
|
|
<Test name="TestConfigWithoutEnv">
|
|
<AutoCommit>False</AutoCommit>
|
|
<ByteOrder>1234</ByteOrder>
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<ConsumeInOrder>True</ConsumeInOrder>
|
|
<Creation>ALWAYS</Creation>
|
|
<DoChecksum>False</DoChecksum>
|
|
<Duplicates>UNSORTED</Duplicates>
|
|
<ErrorPrefix>TestDatabaseConfig</ErrorPrefix>
|
|
<ExtentSize>2</ExtentSize>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<Length>20</Length>
|
|
<PadByte>10</PadByte>
|
|
<NoMMap>False</NoMMap>
|
|
<NonDurableTxns>False</NonDurableTxns>
|
|
<PageSize>40960</PageSize>
|
|
<Priority>HIGH</Priority>
|
|
<ReadOnly>False</ReadOnly>
|
|
<ReadUncommitted>False</ReadUncommitted>
|
|
<Encryption>
|
|
<password>123</password>
|
|
<algorithm>AES</algorithm>
|
|
</Encryption>
|
|
<Truncate>False</Truncate>
|
|
<UseEncryption>True</UseEncryption>
|
|
<UseMVCC>False</UseMVCC>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="QueueDatabaseTest">
|
|
<Test name="TestOpenNewQueueDB">
|
|
<AutoCommit>False</AutoCommit>
|
|
<ByteOrder>1234</ByteOrder>
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<ConsumeInOrder>True</ConsumeInOrder>
|
|
<Creation>ALWAYS</Creation>
|
|
<DoChecksum>False</DoChecksum>
|
|
<Duplicates>UNSORTED</Duplicates>
|
|
<ErrorPrefix>TestDatabaseConfig</ErrorPrefix>
|
|
<ExtentSize>2</ExtentSize>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<HasMultiple>False</HasMultiple>
|
|
<Length>100</Length>
|
|
<PadByte>10</PadByte>
|
|
<NoMMap>False</NoMMap>
|
|
<NonDurableTxns>False</NonDurableTxns>
|
|
<PageSize>8192</PageSize>
|
|
<Priority>HIGH</Priority>
|
|
<ReadOnly>False</ReadOnly>
|
|
<ReadUncommitted>False</ReadUncommitted>
|
|
<Encryption>
|
|
<password>123</password>
|
|
<algorithm>AES</algorithm>
|
|
</Encryption>
|
|
<Truncate>False</Truncate>
|
|
<UseEncryption>True</UseEncryption>
|
|
<UseMVCC>False</UseMVCC>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="RecnoDatabaseTest">
|
|
<Test name="TestOpenNewRecnoDB">
|
|
<AutoCommit>False</AutoCommit>
|
|
<ByteOrder>1234</ByteOrder>
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<Creation>ALWAYS</Creation>
|
|
<Delimiter>100</Delimiter>
|
|
<DoChecksum>False</DoChecksum>
|
|
<Duplicates>UNSORTED</Duplicates>
|
|
<ErrorPrefix>TestDatabaseConfig</ErrorPrefix>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<HasMultiple>True</HasMultiple>
|
|
<Length>100</Length>
|
|
<NoMMap>False</NoMMap>
|
|
<NonDurableTxns>False</NonDurableTxns>
|
|
<NoReverseSplitting>True</NoReverseSplitting>
|
|
<PadByte>100</PadByte>
|
|
<PageSize>8192</PageSize>
|
|
<Priority>HIGH</Priority>
|
|
<ReadOnly>False</ReadOnly>
|
|
<ReadUncommitted>False</ReadUncommitted>
|
|
<Renumber>False</Renumber>
|
|
<Encryption>
|
|
<password>123</password>
|
|
<algorithm>AES</algorithm>
|
|
</Encryption>
|
|
<Snapshot>False</Snapshot>
|
|
<Truncate>False</Truncate>
|
|
<UseEncryption>True</UseEncryption>
|
|
<UseMVCC>False</UseMVCC>
|
|
<UseRecordNumbers>False</UseRecordNumbers>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="LockingConfigTest">
|
|
<Test name="TestConfig">
|
|
<Conflicts>
|
|
<E>
|
|
<E>1</E>
|
|
<E>1</E>
|
|
<E>1</E>
|
|
</E>
|
|
<E>
|
|
<E>1</E>
|
|
<E>1</E>
|
|
<E>1</E>
|
|
</E>
|
|
<E>
|
|
<E>1</E>
|
|
<E>1</E>
|
|
<E>1</E>
|
|
</E>
|
|
</Conflicts>
|
|
<DeadlockResolution>MAX_LOCKS</DeadlockResolution>
|
|
<MaxLocks>10</MaxLocks>
|
|
<MaxLockers>10</MaxLockers>
|
|
<MaxObjects>10</MaxObjects>
|
|
<Partitions>3</Partitions>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="LogConfigTest">
|
|
<Test name="TestConfig">
|
|
<AutoRemove>True</AutoRemove>
|
|
<BufferSize>4096</BufferSize>
|
|
<Dir>./</Dir>
|
|
<FileMode>755</FileMode>
|
|
<ForceSync>True</ForceSync>
|
|
<InMemory>True</InMemory>
|
|
<MaxFileSize>1048576</MaxFileSize>
|
|
<NoBuffer>True</NoBuffer>
|
|
<RegionSize>30720</RegionSize>
|
|
<ZeroOnCreate>True</ZeroOnCreate>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="MutexConfigTest">
|
|
<Test name="TestConfig">
|
|
<Alignment>256</Alignment>
|
|
<Increment>10</Increment>
|
|
<MaxMutexes>50</MaxMutexes>
|
|
<NumTestAndSetSpins>5</NumTestAndSetSpins>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="TransactionConfigTest">
|
|
<Test name="TestConfig">
|
|
<IsolationDegree>2</IsolationDegree>
|
|
<NoWait>True</NoWait>
|
|
<Snapshot>True</Snapshot>
|
|
<SyncAction>WRITE_NOSYNC</SyncAction>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="MPoolConfigTest">
|
|
<Test name="TestConfig">
|
|
<CacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</CacheSize>
|
|
<MaxCacheSize>
|
|
<Bytes>10485760</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>1</NCaches>
|
|
</MaxCacheSize>
|
|
<MaxOpenFiles>10</MaxOpenFiles>
|
|
<MaxSequentialWrites>
|
|
<maxWrites>10</maxWrites>
|
|
<pause>1000</pause>
|
|
</MaxSequentialWrites>
|
|
<MMapSize>1048576</MMapSize>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="SecondaryDatabaseConfigTest">
|
|
<Test name="TestConfig">
|
|
<ImmutableKey>True</ImmutableKey>
|
|
<Populate>True</Populate>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="SecondaryBTreeDatabaseConfigTest">
|
|
<Test name="TestConfig">
|
|
<Creation>NEVER</Creation>
|
|
<Duplicates>SORTED</Duplicates>
|
|
<NoReverseSplitting>True</NoReverseSplitting>
|
|
<UseRecordNumbers>True</UseRecordNumbers>
|
|
<MinKeysPerPage>100</MinKeysPerPage>
|
|
<ImmutableKey>True</ImmutableKey>
|
|
<Populate>True</Populate>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="SecondaryBTreeDatabaseTest">
|
|
<Test name="TestOpen">
|
|
<ImmutableKey>False</ImmutableKey>
|
|
<Populate>True</Populate>
|
|
<Creation>ALWAYS</Creation>
|
|
<Duplicates>SORTED</Duplicates>
|
|
<NoReverseSplitting>True</NoReverseSplitting>
|
|
<UseRecordNumbers>False</UseRecordNumbers>
|
|
<MinKeysPerPage>64</MinKeysPerPage>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="SecondaryHashDatabaseConfigTest">
|
|
<Test name="TestConfig">
|
|
<ImmutableKey>True</ImmutableKey>
|
|
<Populate>True</Populate>
|
|
<Creation>NEVER</Creation>
|
|
<Duplicates>SORTED</Duplicates>
|
|
<FillFactor>5</FillFactor>
|
|
<NumElements>100</NumElements>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="SecondaryHashDatabaseTest">
|
|
<Test name="TestOpen">
|
|
<ImmutableKey>True</ImmutableKey>
|
|
<Populate>True</Populate>
|
|
<Creation>ALWAYS</Creation>
|
|
<Duplicates>SORTED</Duplicates>
|
|
<FillFactor>5</FillFactor>
|
|
<NumElements>100</NumElements>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="SecondaryQueueDatabaseConfigTest">
|
|
<Test name="TestConfig">
|
|
<ImmutableKey>True</ImmutableKey>
|
|
<Populate>True</Populate>
|
|
<Creation>NEVER</Creation>
|
|
<Length>100</Length>
|
|
<PadByte>10</PadByte>
|
|
<ExtentSize>4</ExtentSize>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="SecondaryQueueDatabaseTest">
|
|
<Test name="TestOpen">
|
|
<ImmutableKey>True</ImmutableKey>
|
|
<Populate>True</Populate>
|
|
<Creation>ALWAYS</Creation>
|
|
<Length>100</Length>
|
|
<PadByte>10</PadByte>
|
|
<ExtentSize>4</ExtentSize>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="SecondaryRecnoDatabaseConfigTest">
|
|
<Test name="TestConfig">
|
|
<ImmutableKey>True</ImmutableKey>
|
|
<Populate>True</Populate>
|
|
<BackingFile>.//backing</BackingFile>
|
|
<Creation>NEVER</Creation>
|
|
<Delimiter>100</Delimiter>
|
|
<Length>100</Length>
|
|
<PadByte>100</PadByte>
|
|
<Renumber>False</Renumber>
|
|
<Snapshot>False</Snapshot>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="SecondaryRecnoDatabaseTest">
|
|
<Test name="TestOpen">
|
|
<ImmutableKey>True</ImmutableKey>
|
|
<Populate>True</Populate>
|
|
<Creation>ALWAYS</Creation>
|
|
<Delimiter>100</Delimiter>
|
|
<Length>120</Length>
|
|
<PadByte>50</PadByte>
|
|
<Renumber>False</Renumber>
|
|
<Snapshot>False</Snapshot>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="SequenceConfigTest">
|
|
<Test name="TestConfig">
|
|
<CacheSize>1048576</CacheSize>
|
|
<Creation>ALWAYS</Creation>
|
|
<Decrement>True</Decrement>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<Increment>True</Increment>
|
|
<InitialValue>10</InitialValue>
|
|
<Max>1000</Max>
|
|
<Min>17</Min>
|
|
<Wrap>True</Wrap>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="SequenceTest">
|
|
<Test name="TestConfig">
|
|
<CacheSize>1048576</CacheSize>
|
|
<Creation>ALWAYS</Creation>
|
|
<Decrement>True</Decrement>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<Increment>False</Increment>
|
|
<InitialValue>10</InitialValue>
|
|
<Wrap>True</Wrap>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="DatabaseEnvironmentConfigTest">
|
|
<Test name="TestConfig">
|
|
<AutoCommit>True</AutoCommit>
|
|
<CDB_ALLDB>True</CDB_ALLDB>
|
|
<Create>True</Create>
|
|
<CreationDir>./</CreationDir>
|
|
<DataDirs>
|
|
<a>./</a>
|
|
<a>./TestDbEnv</a>
|
|
</DataDirs>
|
|
<ErrorPrefix>TestConfig</ErrorPrefix>
|
|
<ForceFlush>True</ForceFlush>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<MaxTransactions>10</MaxTransactions>
|
|
<InitRegions>True</InitRegions>
|
|
<IntermediateDirMode>rwx------</IntermediateDirMode>
|
|
<Lockdown>True</Lockdown>
|
|
<LockTimeout>1000</LockTimeout>
|
|
<NoBuffer>True</NoBuffer>
|
|
<NoLocking>True</NoLocking>
|
|
<NoMMap>True</NoMMap>
|
|
<NoPanic>True</NoPanic>
|
|
<Overwrite>True</Overwrite>
|
|
<Private>True</Private>
|
|
<Register>True</Register>
|
|
<RunFatalRecovery>True</RunFatalRecovery>
|
|
<RunRecovery>True</RunRecovery>
|
|
<SystemMemory>True</SystemMemory>
|
|
<TempDir>.//test_DB</TempDir>
|
|
<TimeNotGranted>True</TimeNotGranted>
|
|
<TxnNoSync>True</TxnNoSync>
|
|
<TxnNoWait>True</TxnNoWait>
|
|
<TxnSnapshot>True</TxnSnapshot>
|
|
<TxnTimestamp>2008-12-09</TxnTimestamp>
|
|
<TxnWriteNoSync>True</TxnWriteNoSync>
|
|
<UseCDB>True</UseCDB>
|
|
<UseLocking>True</UseLocking>
|
|
<UseLogging>True</UseLogging>
|
|
<UseMPool>True</UseMPool>
|
|
<UseMVCC>True</UseMVCC>
|
|
<UseReplication>True</UseReplication>
|
|
<UseTxns>True</UseTxns>
|
|
<Verbosity>
|
|
<AllFileOps>True</AllFileOps>
|
|
<Deadlock>True</Deadlock>
|
|
<FileOps>True</FileOps>
|
|
<Recovery>True</Recovery>
|
|
<Register>True</Register>
|
|
<Replication>True</Replication>
|
|
<ReplicationElection>True</ReplicationElection>
|
|
<ReplicationLease>True</ReplicationLease>
|
|
<ReplicationMessages>True</ReplicationMessages>
|
|
<ReplicationMisc>True</ReplicationMisc>
|
|
<ReplicationSync>True</ReplicationSync>
|
|
<RepMgrConnectionFailure>True</RepMgrConnectionFailure>
|
|
<RepMgrMisc>True</RepMgrMisc>
|
|
<WaitsForTable>True</WaitsForTable>
|
|
</Verbosity>
|
|
<YieldCPU>True</YieldCPU>
|
|
</Test>
|
|
<Test name="TestConfigLock">
|
|
<Conflicts>
|
|
<E>
|
|
<E>10</E>
|
|
<E>20</E>
|
|
</E>
|
|
<E>
|
|
<E>30</E>
|
|
<E>40</E>
|
|
</E>
|
|
</Conflicts>
|
|
<DeadlockResolution>MAX_LOCKS</DeadlockResolution>
|
|
<MaxLocks>50</MaxLocks>
|
|
<MaxLockers>60</MaxLockers>
|
|
<MaxObjects>70</MaxObjects>
|
|
<Partitions>3</Partitions>
|
|
</Test>
|
|
<Test name="TestConfigLog">
|
|
<AutoRemove>True</AutoRemove>
|
|
<BufferSize>10240</BufferSize>
|
|
<Dir>./</Dir>
|
|
<FileMode>755</FileMode>
|
|
<ForceSync>True</ForceSync>
|
|
<InMemory>True</InMemory>
|
|
<MaxFileSize>1048576</MaxFileSize>
|
|
<NoBuffer>True</NoBuffer>
|
|
<RegionSize>20480</RegionSize>
|
|
<ZeroOnCreate>True</ZeroOnCreate>
|
|
</Test>
|
|
<Test name="TestConfigMutex">
|
|
<Alignment>512</Alignment>
|
|
<Increment>128</Increment>
|
|
<MaxMutexes>15</MaxMutexes>
|
|
<NumTestAndSetSpins>10</NumTestAndSetSpins>
|
|
</Test>
|
|
<Test name="TestConfigReplication">
|
|
<AckTimeout>2000</AckTimeout>
|
|
<BulkTransfer>True</BulkTransfer>
|
|
<CheckpointDelay>100</CheckpointDelay>
|
|
<ConnectionRetry>100</ConnectionRetry>
|
|
<DelayClientSync>True</DelayClientSync>
|
|
<ElectionRetry>15</ElectionRetry>
|
|
<ElectionTimeout>1050</ElectionTimeout>
|
|
<FullElectionTimeout>5000</FullElectionTimeout>
|
|
<HeartbeatMonitor>100</HeartbeatMonitor>
|
|
<HeartbeatSend>50</HeartbeatSend>
|
|
<LeaseTimeout>1025</LeaseTimeout>
|
|
<AutoInit>False</AutoInit>
|
|
<NoBlocking>True</NoBlocking>
|
|
<Priority>1</Priority>
|
|
<RepMgrAckPolicy>ALL</RepMgrAckPolicy>
|
|
<RepMgrLocalSite>
|
|
<Host>127.0.0.0</Host>
|
|
<Port>11111</Port>
|
|
</RepMgrLocalSite>
|
|
<Strict2Site>True</Strict2Site>
|
|
<UseMasterLeases>True</UseMasterLeases>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="DatabaseEnvironmentTest">
|
|
<Test name="TestConfigAll">
|
|
<AutoCommit>True</AutoCommit>
|
|
<CDB_ALLDB>False</CDB_ALLDB>
|
|
<Create>True</Create>
|
|
<CreationDir>./</CreationDir>
|
|
<DataDirs>
|
|
<a>./</a>
|
|
<a>./TestDbEnv</a>
|
|
</DataDirs>
|
|
<ErrorPrefix>TestConfigAll</ErrorPrefix>
|
|
<ForceFlush>False</ForceFlush>
|
|
<FreeThreaded>True</FreeThreaded>
|
|
<MaxTransactions>10</MaxTransactions>
|
|
<InitRegions>True</InitRegions>
|
|
<IntermediateDirMode>rwx------</IntermediateDirMode>
|
|
<Lockdown>False</Lockdown>
|
|
<LockTimeout>1000</LockTimeout>
|
|
<NoBuffer>False</NoBuffer>
|
|
<NoLocking>False</NoLocking>
|
|
<NoMMap>False</NoMMap>
|
|
<NoPanic>False</NoPanic>
|
|
<Overwrite>True</Overwrite>
|
|
<Private>False</Private>
|
|
<Register>False</Register>
|
|
<RunFatalRecovery>False</RunFatalRecovery>
|
|
<RunRecovery>False</RunRecovery>
|
|
<SystemMemory>False</SystemMemory>
|
|
<TempDir>.//test_DB</TempDir>
|
|
<TimeNotGranted>True</TimeNotGranted>
|
|
<TxnNoSync>False</TxnNoSync>
|
|
<TxnNoWait>False</TxnNoWait>
|
|
<TxnSnapshot>False</TxnSnapshot>
|
|
<TxnTimestamp>2008-12-09</TxnTimestamp>
|
|
<TxnWriteNoSync>False</TxnWriteNoSync>
|
|
<UseCDB>False</UseCDB>
|
|
<UseLocking>True</UseLocking>
|
|
<UseLogging>True</UseLogging>
|
|
<UseMPool>True</UseMPool>
|
|
<UseMVCC>True</UseMVCC>
|
|
<UseReplication>True</UseReplication>
|
|
<UseTxns>True</UseTxns>
|
|
<Verbosity>
|
|
<AllFileOps>True</AllFileOps>
|
|
<Deadlock>True</Deadlock>
|
|
<FileOps>True</FileOps>
|
|
<Recovery>False</Recovery>
|
|
<Register>False</Register>
|
|
<Replication>True</Replication>
|
|
<ReplicationElection>True</ReplicationElection>
|
|
<ReplicationLease>True</ReplicationLease>
|
|
<ReplicationMessages>True</ReplicationMessages>
|
|
<ReplicationMisc>True</ReplicationMisc>
|
|
<ReplicationSync>True</ReplicationSync>
|
|
<RepMgrConnectionFailure>True</RepMgrConnectionFailure>
|
|
<RepMgrMisc>True</RepMgrMisc>
|
|
<WaitsForTable>False</WaitsForTable>
|
|
</Verbosity>
|
|
<YieldCPU>True</YieldCPU>
|
|
|
|
<LockingConfig>
|
|
<Conflicts>
|
|
<E>
|
|
<E>2</E>
|
|
<E>1</E>
|
|
</E>
|
|
<E>
|
|
<E>1</E>
|
|
<E>2</E>
|
|
</E>
|
|
</Conflicts>
|
|
<DeadlockResolution>MAX_LOCKS</DeadlockResolution>
|
|
<MaxLocks>50</MaxLocks>
|
|
<MaxLockers>10</MaxLockers>
|
|
<MaxObjects>60</MaxObjects>
|
|
<Partitions>10</Partitions>
|
|
</LockingConfig>
|
|
|
|
<LogConfig>
|
|
<AutoRemove>False</AutoRemove>
|
|
<BufferSize>10240</BufferSize>
|
|
<Dir>./</Dir>
|
|
<FileMode>755</FileMode>
|
|
<ForceSync>True</ForceSync>
|
|
<InMemory>False</InMemory>
|
|
<MaxFileSize>1048576</MaxFileSize>
|
|
<NoBuffer>False</NoBuffer>
|
|
<RegionSize>204800</RegionSize>
|
|
<ZeroOnCreate>True</ZeroOnCreate>
|
|
</LogConfig>
|
|
|
|
<MutexConfig>
|
|
<Alignment>512</Alignment>
|
|
<Increment>128</Increment>
|
|
<MaxMutexes>10000</MaxMutexes>
|
|
<NumTestAndSetSpins>10</NumTestAndSetSpins>
|
|
</MutexConfig>
|
|
|
|
<MPoolConfig>
|
|
<CacheSize>
|
|
<Bytes>10485760</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>2</NCaches>
|
|
</CacheSize>
|
|
<MaxCacheSize>
|
|
<Bytes>1048576</Bytes>
|
|
<Gigabytes>0</Gigabytes>
|
|
<NCaches>0</NCaches>
|
|
</MaxCacheSize>
|
|
<MaxOpenFiles>5</MaxOpenFiles>
|
|
<MaxSequentialWrites>
|
|
<maxWrites>1</maxWrites>
|
|
<pause>1000</pause>
|
|
</MaxSequentialWrites>
|
|
<MMapSize>1048576</MMapSize>
|
|
</MPoolConfig>
|
|
|
|
<ReplicationConfig>
|
|
<AckTimeout>2000</AckTimeout>
|
|
<BulkTransfer>True</BulkTransfer>
|
|
<CheckpointDelay>100</CheckpointDelay>
|
|
<ConnectionRetry>100</ConnectionRetry>
|
|
<DelayClientSync>True</DelayClientSync>
|
|
<ElectionRetry>15</ElectionRetry>
|
|
<ElectionTimeout>1050</ElectionTimeout>
|
|
<FullElectionTimeout>5000</FullElectionTimeout>
|
|
<HeartbeatMonitor>100</HeartbeatMonitor>
|
|
<HeartbeatSend>50</HeartbeatSend>
|
|
<LeaseTimeout>1025</LeaseTimeout>
|
|
<AutoInit>False</AutoInit>
|
|
<NoBlocking>True</NoBlocking>
|
|
<Priority>1</Priority>
|
|
<RepMgrAckPolicy>ALL</RepMgrAckPolicy>
|
|
<RepMgrLocalSite>
|
|
<Host>127.0.0.0</Host>
|
|
<Port>11111</Port>
|
|
</RepMgrLocalSite>
|
|
<Strict2Site>True</Strict2Site>
|
|
<UseMasterLeases>True</UseMasterLeases>
|
|
</ReplicationConfig>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="CursorConfigTest">
|
|
<Test name="TestConfig">
|
|
<IsolationDegree>2</IsolationDegree>
|
|
<Priority>VERY_HIGH</Priority>
|
|
<SnapshotIsolation>True</SnapshotIsolation>
|
|
<WriteCursor>True</WriteCursor>
|
|
</Test>
|
|
</TestFixture>
|
|
<TestFixture name="ReplicationConfigTest">
|
|
<Test name="TestConfig">
|
|
<AckTimeout>1000</AckTimeout>
|
|
<BulkTransfer>True</BulkTransfer>
|
|
<CheckpointDelay>101</CheckpointDelay>
|
|
<ConnectionRetry>102</ConnectionRetry>
|
|
<DelayClientSync>True</DelayClientSync>
|
|
<ElectionRetry>15</ElectionRetry>
|
|
<ElectionTimeout>1050</ElectionTimeout>
|
|
<FullElectionTimeout>5000</FullElectionTimeout>
|
|
<HeartbeatMonitor>100</HeartbeatMonitor>
|
|
<HeartbeatSend>50</HeartbeatSend>
|
|
<LeaseTimeout>1025</LeaseTimeout>
|
|
<AutoInit>False</AutoInit>
|
|
<NoBlocking>True</NoBlocking>
|
|
<Priority>1</Priority>
|
|
<RepMgrAckPolicy>ALL</RepMgrAckPolicy>
|
|
<RepMgrLocalSite>
|
|
<Host>127.0.0.0</Host>
|
|
<Port>11111</Port>
|
|
</RepMgrLocalSite>
|
|
<Strict2Site>True</Strict2Site>
|
|
<UseMasterLeases>True</UseMasterLeases>
|
|
</Test>
|
|
</TestFixture>
|
|
</Assembly> |