#include <stdlib.h>
#include <stdio.h>
#include "lang/verify.h"
-#include "lock_client_cache_rsm.h"
#include "tprintf.h"
#include <sys/types.h>
#include <unistd.h>
// must be >= 2
const int nt = 6; //XXX: lab1's rpc handlers are blocking. Since rpcs uses a thread pool of 10 threads, we cannot test more than 10 blocking rpc.
std::string dst;
-lock_client_cache_rsm **lc = new lock_client_cache_rsm * [nt];
+lock_client **lc = new lock_client * [nt];
lock_protocol::lockid_t a = "1";
lock_protocol::lockid_t b = "2";
lock_protocol::lockid_t c = "3";
}
tprintf("cache lock client\n");
- for (int i = 0; i < nt; i++) lc[i] = new lock_client_cache_rsm(dst);
+ for (int i = 0; i < nt; i++) lc[i] = new lock_client(dst);
if(!test || test == 1){
test1();