Skip to content

Commit

Permalink
fix testcase for blob io error
Browse files Browse the repository at this point in the history
  • Loading branch information
kuron99 committed Feb 19, 2025
1 parent db1e232 commit 4b1ae96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/jogasaki/api/service_api_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1465,9 +1465,9 @@ TEST_F(service_api_test, blob_types_error_handling) {
EXPECT_TRUE(res->completed());
ASSERT_TRUE(st);

auto [success, error, stats] = decode_execute_result(res->body_);
ASSERT_TRUE(! success);
std::cerr << "error:" << error.message_ << std::endl;
auto& rec = res->error_;
EXPECT_EQ(::tateyama::proto::diagnostics::Code::IO_ERROR, rec.code());
std::cerr << "error:" << rec.message() << std::endl;
}
test_dispose_prepare(stmt_handle);
}
Expand Down

0 comments on commit 4b1ae96

Please sign in to comment.