We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03b8ed5 commit d0637bfCopy full SHA for d0637bf
tests/src/unit/tests/test_load_balancing.cpp
@@ -93,7 +93,7 @@ typedef Map<Address, int> QueryCounts;
93
94
QueryCounts run_policy(LoadBalancingPolicy& policy, int count) {
95
QueryCounts counts;
96
- for (int i = 0; i < 12; ++i) {
+ for (int i = 0; i < count; ++i) {
97
ScopedPtr<QueryPlan> qp(policy.new_query_plan("ks", NULL, NULL));
98
Host::Ptr host(qp->compute_next());
99
if (host) {
0 commit comments