Fix a typo in variable

Summary: Typo seqeuntial -> sequential in db/fault_injection_test.cc

Test Plan: Build it

Reviewers: ott, igor, anthony, kradhakrishnan, IslamAbdelRahman

Reviewed By: IslamAbdelRahman

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D42417
main
sdong 10 years ago
parent 6c0c8dee7b
commit ac2b9367fe
  1. 8
      db/fault_injection_test.cc

@ -583,13 +583,13 @@ class FaultInjectionTest : public testing::Test {
}
Status Verify(int start_idx, int num_vals, ExpectedVerifResult expected,
bool seqeuntial = true) const {
bool sequential = true) const {
std::string val;
std::string value_space;
Status s;
for (int i = start_idx; i < start_idx + num_vals && s.ok(); i++) {
Value(i, &value_space);
s = ReadValue(i, &val, seqeuntial);
s = ReadValue(i, &val, sequential);
if (s.ok()) {
EXPECT_EQ(value_space, val);
}
@ -609,9 +609,9 @@ class FaultInjectionTest : public testing::Test {
}
// Return the ith key
Slice Key(bool seqeuntial, int i, std::string* storage) const {
Slice Key(bool sequential, int i, std::string* storage) const {
int num = i;
if (!seqeuntial) {
if (!sequential) {
// random transfer
const int m = 0x5bd1e995;
num *= m;

Loading…
Cancel
Save