Skip to content

Commit

Permalink
reduce test iteratios
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed Nov 27, 2023
1 parent 8569ef5 commit d6804d2
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-3-Clause
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
package com.salesforce.apollo.membership.messaging;
package com.salesforce.apollo.membership.messaging.rbc;

import com.codahale.metrics.ConsoleReporter;
import com.codahale.metrics.MetricRegistry;
Expand All @@ -20,9 +20,6 @@
import com.salesforce.apollo.membership.Context;
import com.salesforce.apollo.membership.Member;
import com.salesforce.apollo.membership.SigningMember;
import com.salesforce.apollo.membership.messaging.rbc.RbcMetrics;
import com.salesforce.apollo.membership.messaging.rbc.RbcMetricsImpl;
import com.salesforce.apollo.membership.messaging.rbc.ReliableBroadcaster;
import com.salesforce.apollo.membership.messaging.rbc.ReliableBroadcaster.MessageHandler;
import com.salesforce.apollo.membership.messaging.rbc.ReliableBroadcaster.Msg;
import com.salesforce.apollo.membership.messaging.rbc.ReliableBroadcaster.Parameters;
Expand Down Expand Up @@ -115,7 +112,7 @@ public void broadcast() throws Exception {
view.registerHandler(receiver);
receivers.put(view.getMember(), receiver);
}
int rounds = LARGE_TESTS ? 100 : 50;
int rounds = LARGE_TESTS ? 100 : 5;
for (int r = 0; r < rounds; r++) {
CountDownLatch latch = new CountDownLatch(messengers.size());
round.set(latch);
Expand Down

0 comments on commit d6804d2

Please sign in to comment.