Merge pull request #8273 from sfc-gh-huliu/testfix

disable MoveKeysWorkload when running SpecialKeySpaceCorrectness test
This commit is contained in:
Hui Liu 2022-09-21 17:32:44 -07:00 committed by GitHub
commit bf943bfd57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,9 +66,9 @@ struct SpecialKeySpaceCorrectnessWorkload : TestWorkload {
Future<Void> start(Database const& cx) override { return _start(cx, this); }
Future<bool> check(Database const& cx) override { return wrongResults.getValue() == 0; }
void getMetrics(std::vector<PerfMetric>& m) override {}
// disable the default timeout setting
double getCheckTimeout() const override { return std::numeric_limits<double>::max(); }
void disableFailureInjectionWorkloads(std::set<std::string>& out) const override { out.insert("MoveKeysWorkload"); }
Future<Void> _setup(Database cx, SpecialKeySpaceCorrectnessWorkload* self) {
cx->specialKeySpace = std::make_unique<SpecialKeySpace>();