| 1396 | } |
| 1397 | |
| 1398 | inline int getRandomShardCount() { |
| 1399 | #if defined(USE_SANITIZER) |
| 1400 | return deterministicRandom()->randomInt(1000, 24000); // 24000 * MAX_SHARD_SIZE = 12TB |
| 1401 | #else |
| 1402 | return deterministicRandom()->randomInt(1000, CLIENT_KNOBS->TOO_MANY); // 2000000000; OOM |
| 1403 | #endif |
| 1404 | } |
| 1405 | |
| 1406 | } // namespace data_distribution_test |
| 1407 |
no test coverage detected