You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[yugabyte#20514] docdb: Fix flaky test RaftConsensusITest.TestExpiredOperationWithSchemaChange and enable this test on fastdebug
Summary:
After we move from centos-gcc11-debug to alma8-gcc11-debug, RaftConsensusITest.TestExpiredOperationWithSchemaChange was constantly broken on alma8-gcc11-debug due to test bug.
In the test, the intention was to stuck the old leader ts, so that schema change operation can be successfully done on the new leader. However, cluster_->tablet_server(0) doesn't always give us the leader ts. After fixing this line of code, the test passed on all builds. This bug also led us to disable the test on fastdebug in the past. After the fix, we can re-enble this test on fastdebug.
Test Plan:
./yb_build.sh --cxx-test integration-tests_raft_consensus-itest --gtest_filter RaftConsensusITest.TestExpiredOperationWithSchemaChange --gcc11 -n 100
./yb_build.sh fastdebug --cxx-test integration-tests_raft_consensus-itest --gtest_filter RaftConsensusITest.TestExpiredOperationWithSchemaChange --gcc11 -n 100
Reviewers: rthallam, qhu
Reviewed By: qhu
Subscribers: ybase, bogdan
Differential Revision: https://phorge.dev.yugabyte.com/D31647
0 commit comments