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
The test org.yb.cql.TestBigNumShards#testDropTableTimeout sets NumShardsPerTServer ==32.
For 1 table + 5 indexes it creates 192 tablets. For the many number of tablets Jenkins can occasionally fail with timeout.
The big number of tablets was a way to reproduce some cases when the DROP TABLE happens when the CREATE TABLE/INDEX is not finished.
See for details:
…stDropTableTimeout.
Summary:
The test `org.yb.cql.TestBigNumShards#testDropTableTimeout` sets `NumShardsPerTServer `==32.
For 1 table + 5 indexes it created 192 tablets. For the many number of tablets Jenkins can occasionally fail with timeout.
The big number of tablets was a way to reproduce some cases when the DROP TABLE happens when the CREATE TABLE/INDEX is not finished.
See for details:
- GH: #3032
- Diff: https://phabricator.dev.yugabyte.com/D7670
- Commit: a70ab64
Current fix keeps the test for big number of shards, but the number of tables (and indexes) reduced to 2.
Slow CREATE TABLE test-case is re-implemented via `TEST_simulate_slow_table_create_secs`: `org.yb.cql.TestMasterLatency#testSlowCreateDropIndex `.
Test Plan:
ybd --java-test org.yb.cql.TestBigNumShards#testCreateDropTable --tp 1 -n 10
ybd --java-test org.yb.cql.TestMasterLatency#testSlowCreateDropTable --tp 1 -n 10
ybd --java-test org.yb.cql.TestMasterLatency#testSlowCreateDropIndex --tp 1 -n 10
ybd --java-test org.yb.cql.TestSlowCreateTable#testCreateTableTimeout --tp 1 -n 10
Reviewers: timur, amitanand
Reviewed By: amitanand
Subscribers: yql
Differential Revision: https://phabricator.dev.yugabyte.com/D12427
The test
org.yb.cql.TestBigNumShards#testDropTableTimeout
setsNumShardsPerTServer
==32.For 1 table + 5 indexes it creates 192 tablets. For the many number of tablets Jenkins can occasionally fail with timeout.
The big number of tablets was a way to reproduce some cases when the DROP TABLE happens when the CREATE TABLE/INDEX is not finished.
See for details:
Planned fix:
TEST_simulate_slow_table_create_secs
:org.yb.cql.TestSlowCreateTable#testDropTableTimeout
.The text was updated successfully, but these errors were encountered: