review feedback

This commit is contained in:
Ken Stevens 2019-10-03 13:53:54 -04:00
parent 66618ec6bd
commit 6451b9691e
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ public class SubscriptionChannelRegistry {
return mySubscriptionChannelCache.get(theChannelName);
}
public int size() {
public synchronized int size() {
return mySubscriptionChannelCache.size();
}

View File

@ -13,7 +13,7 @@ import java.util.List;
import static org.junit.Assert.assertEquals;
public class SubscriptionLoaderTest extends BaseBlockingQueueSubscribableChannelDstu3Test {
private static final int MOCK_FHIR_CLIENT_FAILURES = 5;
private static final int MOCK_FHIR_CLIENT_FAILURES = 3;
@Autowired
private MockFhirClientSubscriptionProvider myMockFhirClientSubscriptionProvider;