Commit 0e465396 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fixup root_fifo tests. addresses #1691

git-svn-id: file:///svn/toku/tokudb@11360 c7de825b-a66e-492c-adef-691d508d4ae1
parent 140f8d75
......@@ -86,10 +86,6 @@ BDB_DONTRUN_TESTS = \
test_heaviside_straddle_1622 \
test_dbremove_old \
checkpoint_1 \
root_fifo_1 \
root_fifo_2 \
root_fifo_31 \
root_fifo_32 \
#\ ends prev line
ifeq ($(OS_CHOICE),windows)
......
......@@ -3,8 +3,6 @@
#include "test.h"
#include <sys/stat.h>
#include "../ydb-internal.h"
DB_ENV *null_env = NULL;
DB *null_db = NULL;
DB_TXN *null_txn = NULL;
......@@ -68,7 +66,6 @@ static void root_fifo_1(int n) {
for (i=0; i<n; i++) {
DB *db = null_db;
r = db_create(&db, env, 0); assert(r == 0); assert(db != NULL);
if (0) printf("db %p brt %p\n", db, db->i->brt);
r = db->open(db, txn, "test.db", 0, DB_BTREE, DB_CREATE, S_IRWXU+S_IRWXG+S_IRWXO);
assert(r == 0);
......
......@@ -3,8 +3,6 @@
#include "test.h"
#include <sys/stat.h>
#include "../ydb-internal.h"
DB_ENV *null_env = NULL;
DB *null_db = NULL;
DB_TXN *null_txn = NULL;
......@@ -68,7 +66,6 @@ static void root_fifo_1(int n) {
for (i=0; i<n; i++) {
DB *db = null_db;
r = db_create(&db, env, 0); assert(r == 0); assert(db != NULL);
if (0) printf("db %p brt %p\n", db, db->i->brt);
r = db->open(db, txn, "test.db", 0, DB_BTREE, DB_CREATE, S_IRWXU+S_IRWXG+S_IRWXO);
assert(r == 0);
......
......@@ -3,8 +3,6 @@
#include "test.h"
#include <sys/stat.h>
#include "../ydb-internal.h"
DB_ENV *null_env = NULL;
DB *null_db = NULL;
DB_TXN *null_txn = NULL;
......@@ -108,7 +106,6 @@ static void root_fifo_31(int n) {
for (i=0; i<n; i++) {
DB *db = null_db;
r = db_create(&db, env, 0); assert(r == 0); assert(db != NULL);
if (0) printf("db %p brt %p\n", db, db->i->brt);
r = db->open(db, txn, "test.db", 0, DB_BTREE, DB_CREATE, S_IRWXU+S_IRWXG+S_IRWXO);
assert(r == 0);
......
......@@ -3,8 +3,6 @@
#include "test.h"
#include <sys/stat.h>
#include "../ydb-internal.h"
DB_ENV *null_env = NULL;
DB *null_db = NULL;
DB_TXN *null_txn = NULL;
......@@ -108,7 +106,6 @@ static void root_fifo_32(int n) {
for (i=0; i<n; i++) {
DB *db = null_db;
r = db_create(&db, env, 0); assert(r == 0); assert(db != NULL);
if (0) printf("db %p brt %p\n", db, db->i->brt);
r = db->open(db, txn, "test.db", 0, DB_BTREE, DB_CREATE, S_IRWXU+S_IRWXG+S_IRWXO);
assert(r == 0);
......
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