MCPcopy Create free account
hub / github.com/apache/kvrocks / CronTestMinInterval

Method CronTestMinInterval

tests/cppunit/cron_test.cc:188–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186class CronTestMinInterval : public testing::Test {
187 protected:
188 explicit CronTestMinInterval() {
189 cron_ = std::make_unique<Cron>();
190 std::vector<std::string> schedule{"*/4", "*", "*", "*", "*"};
191 auto s = cron_->SetScheduleTime(schedule);
192 EXPECT_TRUE(s.IsOK());
193 }
194 ~CronTestMinInterval() override = default;
195
196 std::unique_ptr<Cron> cron_;

Callers

nothing calls this directly

Calls 2

SetScheduleTimeMethod · 0.80
IsOKMethod · 0.45

Tested by

no test coverage detected