Skip to content

2.25.2.0-b39

@mdbridge mdbridge tagged this 22 Feb 18:25
Summary:
As title.  This is needed to make tests like XClusterAutomaticModeTest.SequenceReplicationBootstrappingWithoutBumps non-flaky.

Here we increase the deadline for all Master admin RPCs from the default 1.5 seconds to 30 seconds (non-ASAN) or 90 seconds (ASAN).
Jira: DB-15469

Test Plan:
To reproduce the problem, make the following temporary source change:
```
~/code/yugabyte-db/src/yb/master/catalog_manager.cc:9602:
Status CatalogManager::ListNamespaces(const ListNamespacesRequestPB* req,
                                      ListNamespacesResponsePB* resp) {
  std::this_thread::sleep_for(10s);
```
then run:
```
ybd --cxx-test xcluster_sequences-test --gtest_filter '*.SequenceReplicationBootstrappingWithoutBumps'
```

The change to the deadline makes this pass.

Reviewers: xCluster, hsunder

Reviewed By: hsunder

Subscribers: ybase

Differential Revision: https://phorge.dev.yugabyte.com/D42050
Assets 2
Loading