Commit f88cb7a6 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#2961 dbufio-test and dbufio-test-destroy can not run in parallel. fix them closes[t:2961]

git-svn-id: file:///svn/toku/tokudb@24246 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3edc4e7b
...@@ -15,7 +15,7 @@ static void test1 (size_t chars_per_file, size_t bytes_per_read) { ...@@ -15,7 +15,7 @@ static void test1 (size_t chars_per_file, size_t bytes_per_read) {
int still_live[N]; int still_live[N];
int n_live=N; int n_live=N;
for (int i=0; i<N; i++) { for (int i=0; i<N; i++) {
snprintf(fnames[i], 100, "dbufio-test-file%d.data", i); snprintf(fnames[i], 100, "dbufio-test-destroy-file%d.data", i);
unlink(fnames[i]); unlink(fnames[i]);
fds[i] = open(fnames[i], O_CREAT|O_RDWR, S_IRWXU); fds[i] = open(fnames[i], O_CREAT|O_RDWR, S_IRWXU);
//printf("fds[%d]=%d is %s\n", i, fds[i], fnames[i]); //printf("fds[%d]=%d is %s\n", i, fds[i], fnames[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment