Skip to content

Commit

Permalink
Update sdk/appcenter/src/test/java/com/microsoft/appcenter/channel/De…
Browse files Browse the repository at this point in the history
…faultChannelTest.java

Co-authored-by: Dima <v-dmkira@microsoft.com>
  • Loading branch information
shadyabarada and DmitriyKirakosyan committed Dec 20, 2022
1 parent ceb1a7a commit a8a1d3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ public void testConcurrentIterableDataStructureUpdatesSuccess() {
AppCenterIngestion mockIngestion = mock(AppCenterIngestion.class);
Channel.GroupListener mockListener = mock(Channel.GroupListener.class);

//Get the concurrent hashmap in DefaultChannel that accepts modifications during iteration
// Get the concurrent hashmap in DefaultChannel that accepts modifications during iteration.
DefaultChannel channel = new DefaultChannel(mock(Context.class), UUID.randomUUID().toString(), mockPersistence, mockIngestion, mAppCenterHandler);
Map<String, DefaultChannel.GroupState> myMap = channel.getGroupStates();
channel.addGroup(TEST_GROUP, 50, BATCH_TIME_INTERVAL, MAX_PARALLEL_BATCHES, null, mockListener);
Expand Down

0 comments on commit a8a1d3a

Please sign in to comment.