Shortened test because it was painfully slow.
This commit is contained in:
parent
a4c13449b8
commit
24b644162f
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue