Skip to content

Commit

Permalink
[fix](regression test) fix stream load 2pc case fail (apache#45919)
Browse files Browse the repository at this point in the history
Fix stream load 2pc case fail.
  • Loading branch information
sollhui authored Dec 26, 2024
1 parent 57a7b75 commit b6a48f2
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -741,11 +741,7 @@ suite("test_stream_load_properties", "p0") {

// Commit the same txnId again to trigger operate_txn_2pc() failure
body = do_streamload_2pc.call(txnId, "commit", tableName1)
if (isCloudMode()) {
assertEquals("success", parseJson(body).status.toLowerCase())
} else {
assertEquals("analysis_error", parseJson(body).status.toLowerCase())
}
assertEquals("analysis_error", parseJson(body).status.toLowerCase())
assertTrue(parseJson(body).msg.toLowerCase().contains("is already visible"))

i++
Expand Down

0 comments on commit b6a48f2

Please sign in to comment.