6#include <userver/formats/parse/to.hpp>
7#include <userver/testsuite/redis_control.hpp>
13const auto kRedisWaitConnectedDefaultTimeout = std::chrono::seconds(11);
15enum class WaitConnectedMode {
23std::string ToString(WaitConnectedMode mode);
25WaitConnectedMode Parse(
const std::string& str,
26 formats::
parse::
To<WaitConnectedMode>);
29 WaitConnectedMode mode{WaitConnectedMode::kNoWait};
30 bool throw_on_fail{
false};