Skip to content

Commit 85f8c35

Browse files
authored
Minor test fix
Test driver wouldn't crash if client hasn't received the progress
1 parent 6aa45e6 commit 85f8c35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ut/client_ut.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ TEST_P(ClientCase, OnProgress) {
10211021
});
10221022
client_->Execute(query);
10231023

1024-
EXPECT_TRUE(received_progress.has_value());
1024+
ASSERT_TRUE(received_progress.has_value());
10251025

10261026
EXPECT_GE(received_progress->rows, 0u);
10271027
EXPECT_LE(received_progress->rows, 2u);

0 commit comments

Comments
 (0)