Shortened test to prevent timeout on tardis. (It runs fast enough on my laptop; should figure out why

tardis performance is so poor...)
This commit is contained in:
Sears Russell 2007-04-21 05:48:27 +00:00
parent 22306e68ed
commit 662311e6ef

View file

@ -12,8 +12,8 @@
#define LOG_NAME "check_bufferManager.log" #define LOG_NAME "check_bufferManager.log"
#ifdef LONG_TEST #ifdef LONG_TEST
#define THREAD_COUNT 200 #define THREAD_COUNT 100
#define NUM_PAGES (MAX_BUFFER_SIZE * 2) // Otherwise, we run out of disk cache, and it takes forever to complete... #define NUM_PAGES ((MAX_BUFFER_SIZE * 3)/2) // Otherwise, we run out of disk cache, and it takes forever to complete...
#define PAGE_MULT 10 // This tells the system to only use every 10'th page, allowing us to quickly check >2 GB, >4 GB safeness. #define PAGE_MULT 10 // This tells the system to only use every 10'th page, allowing us to quickly check >2 GB, >4 GB safeness.
#define READS_PER_THREAD (NUM_PAGES * 10) #define READS_PER_THREAD (NUM_PAGES * 10)