Back to home page

Enduro/X

 
 

    


0001 List of test cases
0002 
0003 01 - Simple cache, perform one call, get tstamp. Perform another call, the 
0004 timestamp shall be the same. Perform another call, to get second record in cache. 
0005 Use xadmin cs and xadmin cd to dup the results. Before test db shall be cleaned 
0006 up with xadmin ci <dbname>.
0007 
0008 
0009 02 - Test service dissappear after server shutdown. After bootup have cached results
0010 as "clrnosvc" was not specified for db. Two db setup.
0011 
0012 03 - Test "clrnosvc", the cached results after boot shall dissappear.
0013 
0014 04 - timed cache with expiry. Use different service cache and different database. 
0015 Use flag to drop the db at startup, by ndrxd. Record shall be limited to 10seconds. 
0016 Add few recs, check they exist in cache with `cs'. wait 10 sec, 
0017 they should be removed from cache. DB set expiry=10s
0018 
0019 05 - refresh local cache by special key. tpcache config refreshrule=<some expr>
0020 
0021 06 - boot cache reset tests, try to reboot the only tpcachebt server, no
0022 changes shall be made to cache
0023 
0024 07 - negative response caching tests (rsprule)
0025 
0026 08 - invalidate their (two add services, inval 1, inval 2, cache result)
0027 
0028 09 - limited cache, LRU tests
0029 
0030 10 - limited cache, HITS tests, if running on linux, try /dev/shm as storage
0031 folder
0032 
0033 11 - limited cache, fifo tests
0034 
0035 12 - limited cache, HITS + expiry
0036 
0037 13 - simple domain operations, check one way replication, domain 1 add, domain 1 delete.
0038 should be replicated on domain 2.
0039 
0040 14 - test timesync for caches, call DOM1 no cache add, call DOM2 no cache add. Check
0041 caches, there shall be duplicates. Run queries on first and second domains, 
0042 the duplicates shall be removed. Do the same data add of duplicates, the tpcached
0043 started laster, shall clean up duplicates too.
0044 
0045 15 - keygroup tests. Build a keygroup, a groupdb have longer expiry, keyitems
0046 have shorter expiry. In short period of time burst requests for number of records, 
0047 at the end we shall be rejected. Wait a time, some keyitems shall be removed,
0048 but some shall live again, run some unique requests, we shall got rejects on new
0049 reqs. Wait some time, the full group shall be dropped and once cached keys should
0050 should be new again.
0051 
0052 16 - keygroup, expiry by group. Clean up all records.
0053 
0054 17 - keygroup tests with limit functionality, for example fifo..
0055 
0056 18 - Drop cache tests (CLI). Two modes normal DB and keygroup dbs.
0057 
0058 19 - Multi-threaded operations. We configure simple cache, but call it with
0059 multiple pthreads. From the same client. Also test multi-process DB access.
0060 Run serveral testtools on the same database.
0061 
0062 20 - Delete buffer configuration, one test with insufficient field defintions
0063 and another cache with sufficient. For insufficient we use list of fields,
0064 for suffcient we use regexp.
0065 
0066 21 - test defaults (minimum settings to cache)
0067 
0068 22 - test what happens if cache is full? This could be also case when running
0069 in hits mode? Will it be able to update?
0070