commit | 19d2891afcf780d888012c348b0c2e6100c7d8b6 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Tue Oct 29 16:06:06 2024 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Tue Oct 29 19:00:31 2024 +0100 |
tree | 67c3fe7073c3239dcbe6476f78001bce636753d7 | |
parent | 4a48aa417865f41aa9e70c19291a6008ffa736c9 [diff] |
error handling in sysrepo has changed Depends-on: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/7969 Depends-on: https://gerrit.cesnet.cz/c/CzechLight/sysrepo-ietf-alarms/+/7973 Change-Id: Id028806ed49114cba4c55e2874bcf3fc98308bdc
diff --git a/tests/sysrepo_system-firmware.cpp b/tests/sysrepo_system-firmware.cpp index a16eee3..f4920ea 100644 --- a/tests/sysrepo_system-firmware.cpp +++ b/tests/sysrepo_system-firmware.cpp
@@ -249,11 +249,10 @@ SECTION("Invoking second installation throws") { REQUIRE_THROWS_WITH_AS(client.sendRPC(rpcInput), - "Couldn't send RPC: SR_ERR_CALLBACK_FAILED\n" + "Couldn't send RPC: SR_ERR_OPERATION_FAILED\n" // FIXME: why is this present twice? Looks like a libyang-v2.2/sysrepo change that I do not understand " Already processing a different method (SR_ERR_OPERATION_FAILED)\n" " Already processing a different method (SR_ERR_OPERATION_FAILED)\n" - " User callback failed. (SR_ERR_CALLBACK_FAILED)\n" " NETCONF: application: operation-failed: Already processing a different method", sysrepo::ErrorWithCode); }