Name Date Size

..11-Jan-20224 KiB

AccessLogTests.ccH A D11-Jan-20229.3 KiB

addNodeH A D11-Jan-2022347

BaseTest.ccH A D11-Jan-20227.2 KiB

CompactTests.ccH A D11-Jan-202232.3 KiB

dataclient.ccH A D11-Jan-20229.9 KiB

DataTypeTests.ccH A D11-Jan-20224 KiB

delBucketH A D11-Jan-2022148

getmeta.ddocH A D11-Jan-202297

MakefileH A D11-Jan-2022975

PriorityTests.ccH A D11-Jan-202213.6 KiB

README.mdH A D11-Jan-20221.6 KiB

removeNodeH A D11-Jan-2022287

WarmupTests.ccH A D11-Jan-202219.5 KiB

1Engine tests suite is collection of tests for testing the eventually persistent engine(ep-engine) component of Couchbase Server. The following tests are currently part of this suite:
21) - Tests for the flexible metadata feature
32) - Tests for parallel Warmup
43) - Tests for parallel access log generation and loading
54) - Tests for ep-engine managed compaction and expired item deletion
6The file contain the BaseTest class inherited by the Test classes in the other files.
8How to run the tests:
9The Couchbase C client library "libcouchbase" is needed to run these tests. For DataTypeTests and CompactTests, a special libcouchbase library with the 'lcb_hello' and 'lcb_compact' APIs is needed. A repository with these can custom APIs can be found below.
11In addition to libcouchbase, Google Test(gtest) is needed for all tests. Snappy library is needed for DataTypeTests. Once you have all the software mentioned above installed on the machines the tests can be compiled and run as follows:
14To compile,
15   g++ -o Warmuptest -I/root/gtest-1.7.0/include -L/root/gtest-1.7.0/lib -L/root/libcouchbase/.libs -L/root/snappy-1.1.2/ -lcouchbase -lsnappy -lgtest -lpthread
17   To run Warmuptest you need two machines(VMs). The first machine is the local VM where you plan to launch the test, edit the addNode, removeNode scripts to provide the ip address of the second machine. Test can be launched as below:
18   ./Warmuptest localhost:8091
19   A specific test case inside a test can be launched as,
20   ./Warmuptest localhost:8091 --gtest_filter=WarmupTest.WarmupActive_10DGM_ValueEvic_Test