X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tst%2Fsyncstorageimpl_test.cpp;h=aea2346e12a1a4073c73cae023125b0763ed371b;hb=refs%2Fchanges%2F28%2F1028%2F1;hp=7eab41043e189c901187ac73e51281ae765f4dea;hpb=b8cd8b6087862ff04c9e39a0235ebf870c28ce39;p=ric-plt%2Fsdl.git diff --git a/tst/syncstorageimpl_test.cpp b/tst/syncstorageimpl_test.cpp index 7eab410..aea2346 100644 --- a/tst/syncstorageimpl_test.cpp +++ b/tst/syncstorageimpl_test.cpp @@ -557,6 +557,10 @@ TEST_F(SyncStorageImplTest, AllDispatcherErrorCodesThrowCorrectException) expectModifyIfAck(aec, false); EXPECT_THROW(syncStorage->setIfNotExists(ns, "key1", { 0x0a, 0x0b, 0x0c }), BackendError); break; + case AsyncRedisCommandDispatcherErrorCode::WRITING_TO_SLAVE: + expectModifyIfAck(aec, false); + EXPECT_THROW(syncStorage->setIfNotExists(ns, "key1", { 0x0a, 0x0b, 0x0c }), BackendError); + break; default: FAIL() << "No mapping for AsyncRedisCommandDispatcherErrorCode value: " << aec; break;