Verified Commit 2d0a9f04 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

TST: update tests for next server release

parent 60422be1
Pipeline #21635 failed with stages
in 4 minutes and 14 seconds
......@@ -85,7 +85,7 @@ if(LINTING)
"--header-filter=caosdb/.*[^\(\.pb\.h\)]$"
"--fix")
set(_CMAKE_CXX_CLANG_TIDY_CHECKS
"--checks=*,-fuchsia-*,-llvmlibc-*,-cert-err58-cpp,-cppcoreguidelines-avoid-non-const-global-variables,-cppcoreguidelines-owning-memory,-modernize-use-trailing-return-type,-google-readability-avoid-underscore-in-googletest-name,-cppcoreguidelines-avoid-magic-numbers,-readability-magic-numbers,-cppcoreguidelines-avoid-goto,-hicpp-avoid-goto,-readability-function-cognitive-complexity,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-non-private-member-variables-in-classes,-misc-non-private-member-variables-in-classes,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-hicpp-no-array-decay")
"--checks=*,-fuchsia-*,-llvmlibc-*,-cert-err58-cpp,-cppcoreguidelines-avoid-non-const-global-variables,-cppcoreguidelines-owning-memory,-modernize-use-trailing-return-type,-google-readability-avoid-underscore-in-googletest-name,-cppcoreguidelines-avoid-magic-numbers,-readability-magic-numbers,-cppcoreguidelines-avoid-goto,-hicpp-avoid-goto,-readability-function-cognitive-complexity,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-non-private-member-variables-in-classes,-misc-non-private-member-variables-in-classes,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-hicpp-no-array-decay,-altera-*")
endif()
else()
message(STATUS "LINTING is OFF")
......
......@@ -84,7 +84,7 @@ TEST(test_connection, connection_ssl_authentication_error_anonymous) {
EXPECT_THROW_MESSAGE(connection.RetrieveVersionInfo(), AuthenticationError,
"The attempt to execute this transaction has not been "
"executed at all because the authentication did not "
"succeed. Original error: Please login.");
"succeed. Original error: Please log in!");
}
TEST(test_connection, connection_ssl_authentication_error_wrong_credentials) {
......
......@@ -180,8 +180,7 @@ TEST_F(test_issues, server_issue_174) {
auto insert_status = insert_transaction->WaitForIt();
ASSERT_TRUE(insert_status.IsTerminated());
// TODO(tf) Remove the EXPECT_NONFATAL_FAILURE after fixing #174.
EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(insert_status.IsError()), "");
EXPECT_FALSE(insert_status.IsError());
}
} // namespace caosdb::transaction
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment