Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
benchmark
db02_1
db02_2
db03
db04
db05
db06_1
db06_2
db07_1
db07_2
db08_0
db08_1
db08_2
db08_3
db09
db1
db10
db11
db12
db13
db14
db15
db15g
db15g_invg
db15k
db15k_invg
db16
db17
db18_1
db18_2
db19
db20
db21
db22
dom2
dom3
01_atmiclt48.c
01_run.sh
01_test.ini
02_run.sh
02_test.ini
03_run.sh
03_test.ini
04_run.sh
04_test.ini
05_refresh.ini
05_run_refresh.sh
06_bootreset.ini
06_run_bootreset.sh
07_negrsp.ini
07_run_failsvc.sh
08_invaltheir.ini
08_run_invaltheir.sh
09_lru.ini
09_run_lru.sh
10_hits.ini
10_run_hits.sh
11_fifo.ini
11_run_fifo.sh
12_hitsexpiry.ini
12_run_hitsexpiry.sh
13_domops.ini
13_run_domops.sh
14_domdups.ini
14_run_domdups.sh
15_keygroup.ini
15_run_keygroup.sh
16_groupexp.ini
16_run_groupexp.sh
17_grouplim.ini
17_run_grouplim.sh
18_dropdb.ini
18_run_dropdb.sh
19_run_threads.sh
19_threads.ini
20_delete.ini
20_run_delete.sh
21_defaults.ini
21_run_defaults.sh
22_nospace.ini
22_run_nospace.sh
CMakeLists.txt
README
app.ini
atmiclt48_bench.c
atmisv48.c
benchmark.ini
benchmark.sh
mkdb.sh
ndrxconfig-dom1.xml
ndrxconfig-dom2.xml
ndrxconfig-dom3.xml
run.sh
test-func-include.sh
test48.h
testfuncs.c
testtool48.c

README

List of test cases

01 - Simple cache, perform one call, get tstamp. Perform another call, the 
timestamp shall be the same. Perform another call, to get second record in cache. 
Use xadmin cs and xadmin cd to dup the results. Before test db shall be cleaned 
up with xadmin ci <dbname>.


02 - Test service dissappear after server shutdown. After bootup have cached results
as "clrnosvc" was not specified for db. Two db setup.

03 - Test "clrnosvc", the cached results after boot shall dissappear.

04 - timed cache with expiry. Use different service cache and different database. 
Use flag to drop the db at startup, by ndrxd. Record shall be limited to 10seconds. 
Add few recs, check they exist in cache with `cs'. wait 10 sec, 
they should be removed from cache. DB set expiry=10s

05 - refresh local cache by special key. tpcache config refreshrule=<some expr>

06 - boot cache reset tests, try to reboot the only tpcachebt server, no
changes shall be made to cache

07 - negative response caching tests (rsprule)

08 - invalidate their (two add services, inval 1, inval 2, cache result)

09 - limited cache, LRU tests

10 - limited cache, HITS tests, if running on linux, try /dev/shm as storage
folder

11 - limited cache, fifo tests

12 - limited cache, HITS + expiry

13 - simple domain operations, check one way replication, domain 1 add, domain 1 delete.
should be replicated on domain 2.

14 - test timesync for caches, call DOM1 no cache add, call DOM2 no cache add. Check
caches, there shall be duplicates. Run queries on first and second domains, 
the duplicates shall be removed. Do the same data add of duplicates, the tpcached
started laster, shall clean up duplicates too.

15 - keygroup tests. Build a keygroup, a groupdb have longer expiry, keyitems
have shorter expiry. In short period of time burst requests for number of records, 
at the end we shall be rejected. Wait a time, some keyitems shall be removed,
but some shall live again, run some unique requests, we shall got rejects on new
reqs. Wait some time, the full group shall be dropped and once cached keys should
should be new again.

16 - keygroup, expiry by group. Clean up all records.

17 - keygroup tests with limit functionality, for example fifo..

18 - Drop cache tests (CLI). Two modes normal DB and keygroup dbs.

19 - Multi-threaded operations. We configure simple cache, but call it with
multiple pthreads. From the same client. Also test multi-process DB access.
Run serveral testtools on the same database.

20 - Delete buffer configuration, one test with insufficient field defintions
and another cache with sufficient. For insufficient we use list of fields,
for suffcient we use regexp.

21 - test defaults (minimum settings to cache)

22 - test what happens if cache is full? This could be also case when running
in hits mode? Will it be able to update?