diff --git a/dbms/src/Common/ZooKeeper/tests/zkutil_expiration_test.cpp b/dbms/src/Common/ZooKeeper/tests/zkutil_expiration_test.cpp index 54648bdad8f..073e482e109 100644 --- a/dbms/src/Common/ZooKeeper/tests/zkutil_expiration_test.cpp +++ b/dbms/src/Common/ZooKeeper/tests/zkutil_expiration_test.cpp @@ -38,7 +38,7 @@ int main(int argc, char ** argv) ops.emplace_back(std::make_shared("/test/zk_expiration_test", -1)); zkutil::MultiTransactionInfo info; - zk.tryMultiUnsafe(ops, info); + zk.tryMultiNoThrow(ops, nullptr, &info); std::cout << time(nullptr) - time0 << "s: " << zkutil::ZooKeeper::error2string(info.code) << std::endl; try