#include "db/version_set.h"
#include "env/mock_env.h"
#include "file/filename.h"
-#include "logging/logging.h"
#include "rocksdb/cache.h"
#include "rocksdb/db.h"
#include "rocksdb/env.h"
#include "rocksdb/table.h"
#include "rocksdb/write_batch.h"
-#include "test_util/fault_injection_test_env.h"
#include "test_util/sync_point.h"
#include "test_util/testharness.h"
#include "test_util/testutil.h"
#include "util/mutexlock.h"
+#include "util/random.h"
+#include "utilities/fault_injection_env.h"
namespace ROCKSDB_NAMESPACE {
// Return the value to associate with the specified key
Slice Value(int k, std::string* storage) const {
Random r(k);
- return test::RandomString(&r, kValueSize, storage);
+ *storage = r.RandomString(kValueSize);
+ return Slice(*storage);
}
void CloseDB() {