Shortened test because it was painfully slow.

This commit is contained in:
Sears Russell 2005-02-02 02:10:17 +00:00
parent a4c13449b8
commit 24b644162f

View file

@ -52,6 +52,7 @@ terms specified in this license.
#include <pthread.h> #include <pthread.h>
#define LOG_NAME "check_linkedListNTA.log" #define LOG_NAME "check_linkedListNTA.log"
START_TEST(linkedListNTAtest) START_TEST(linkedListNTAtest)
{ {
Tinit(); Tinit();
@ -100,8 +101,8 @@ START_TEST(linkedListNTAtest)
Tcommit(xid); Tcommit(xid);
Tdeinit(); Tdeinit();
} END_TEST } END_TEST
#define NUM_THREADS 100 #define NUM_THREADS 50
#define NUM_T_ENTRIES 100 #define NUM_T_ENTRIES 50
static recordid makekey(int thread, int i) { static recordid makekey(int thread, int i) {
recordid rid; recordid rid;
rid.page = thread*NUM_THREADS+i; rid.page = thread*NUM_THREADS+i;