Skip to content

Commit

Permalink
Remove rapidchecks for fast tombstone all
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasil Pashov authored and Vasil Pashov committed May 12, 2023
1 parent a046eb9 commit d727dfd
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions cpp/arcticdb/version/test/rapidcheck_version_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,6 @@ struct WriteVersion : rc::state::Command<Model, MapStorePair> {
}
};

template <typename Model>
struct SetUseFastTombstoneAll : rc::state::Command<Model, MapStorePair> {
bool value_;

explicit SetUseFastTombstoneAll(const Model&) ARCTICDB_UNUSED:
value_(*rc::gen::arbitrary<bool>()) {}

void apply(Model &) const override {
}

void run(const Model& , MapStorePair & sut) const override {
sut.map_->set_fast_tombstone_all(value_);
}

void show(std::ostream &os) const override {
os << "SetUseFastTombstoneAll(" << value_ << ")";
}
};

template <typename Model>
struct DeleteAllVersions : rc::state::Command<Model, MapStorePair> {
std::string symbol_;
Expand Down Expand Up @@ -289,9 +270,6 @@ RC_GTEST_PROP(VersionMap, RapidcheckTombstones, ()) {
GetLatestVersion<VersionMapTombstonesModel>,
GetAllVersions<VersionMapTombstonesModel>,
DeleteAllVersions<VersionMapTombstonesModel>,
Compact<VersionMapTombstonesModel>,
SetUseFastTombstoneAll<VersionMapTombstonesModel>>()
//CompactAndRemoveDeleted<VersionMapTombstonesModel>>()

Compact<VersionMapTombstonesModel>>()
);
}

0 comments on commit d727dfd

Please sign in to comment.