6#include <userver/formats/parse/to.hpp>
7#include <userver/testsuite/redis_control.hpp>
11namespace storages::
redis {
15enum class WaitConnectedMode {
23std::string ToString(WaitConnectedMode mode);
25WaitConnectedMode Parse(
const std::string& str,
formats::
parse::
To<WaitConnectedMode>);
28 WaitConnectedMode mode{WaitConnectedMode::kNoWait};
29 bool throw_on_fail{
false};
37#ifdef USERVER_FEATURE_LEGACY_REDIS_NAMESPACE
39using storages::redis::kRedisWaitConnectedDefaultTimeout;
40using storages::redis::RedisWaitConnected;
41using storages::redis::WaitConnectedMode;