limitations under the License.
*/
+/*
+ * This source code is part of the near-RT RIC (RAN Intelligent Controller)
+ * platform project (RICP).
+*/
+
#include <type_traits>
#include <memory>
#include <cstring>
ec = aec;
EXPECT_EQ("redis I/O error", getErrorCodeMessage(ec));
break;
+ case AsyncRedisCommandDispatcherErrorCode::WRITING_TO_SLAVE:
+ ec = aec;
+ EXPECT_EQ("writing to slave", getErrorCodeMessage(ec));
+ break;
case AsyncRedisCommandDispatcherErrorCode::END_MARKER:
ec = aec;
EXPECT_EQ("unsupported error code for message()", getErrorCodeMessage(ec));
ec = aec;
EXPECT_TRUE(ec == InternalError::BACKEND_ERROR);
break;
+ case AsyncRedisCommandDispatcherErrorCode::WRITING_TO_SLAVE:
+ ec = aec;
+ EXPECT_TRUE(ec == InternalError::BACKEND_ERROR);
+ break;
case AsyncRedisCommandDispatcherErrorCode::END_MARKER:
ec = aec;
EXPECT_TRUE(ec == InternalError::SDL_ERROR_CODE_LOGIC_ERROR);