@@ -137,7 +137,8 @@ public void testUpdate_noTenantId() throws Exception {
137137 entityFetcher ,
138138 mock (Channel .class ),
139139 1 ,
140- 1000 );
140+ 1000 ,
141+ 5000 );
141142
142143 eqs .update (null , mockResponseObserver );
143144
@@ -167,7 +168,8 @@ public void testUpdate_noEntityType() throws Exception {
167168 entityFetcher ,
168169 mock (Channel .class ),
169170 1 ,
170- 1000 );
171+ 1000 ,
172+ 5000 );
171173
172174 eqs .update (EntityUpdateRequest .newBuilder ().build (), mockResponseObserver );
173175
@@ -198,7 +200,8 @@ public void testUpdate_noEntityId() throws Exception {
198200 entityFetcher ,
199201 mock (Channel .class ),
200202 1 ,
201- 1000 );
203+ 1000 ,
204+ 5000 );
202205
203206 eqs .update (
204207 EntityUpdateRequest .newBuilder ().setEntityType (TEST_ENTITY_TYPE ).build (),
@@ -231,7 +234,8 @@ public void testUpdate_noOperation() throws Exception {
231234 entityFetcher ,
232235 mock (Channel .class ),
233236 1 ,
234- 1000 );
237+ 1000 ,
238+ 5000 );
235239
236240 eqs .update (
237241 EntityUpdateRequest .newBuilder ()
@@ -293,7 +297,8 @@ public void testUpdate_success() throws Exception {
293297 entityFetcher ,
294298 mock (Channel .class ),
295299 1 ,
296- 1000 );
300+ 1000 ,
301+ 5000 );
297302 eqs .update (updateRequest , mockResponseObserver );
298303 return null ;
299304 });
@@ -330,7 +335,8 @@ public void testBulkUpdate_noTenantId() throws Exception {
330335 entityFetcher ,
331336 mock (Channel .class ),
332337 1 ,
333- 1000 );
338+ 1000 ,
339+ 5000 );
334340
335341 eqs .bulkUpdate (null , mockResponseObserver );
336342
@@ -361,7 +367,8 @@ public void testBulkUpdate_noEntityType() throws Exception {
361367 entityFetcher ,
362368 mock (Channel .class ),
363369 1 ,
364- 1000 );
370+ 1000 ,
371+ 5000 );
365372
366373 eqs .bulkUpdate (BulkEntityUpdateRequest .newBuilder ().build (), mockResponseObserver );
367374
@@ -392,7 +399,8 @@ public void testBulkUpdate_noEntities() throws Exception {
392399 entityFetcher ,
393400 mock (Channel .class ),
394401 1 ,
395- 1000 );
402+ 1000 ,
403+ 5000 );
396404
397405 eqs .bulkUpdate (
398406 BulkEntityUpdateRequest .newBuilder ().setEntityType (TEST_ENTITY_TYPE ).build (),
@@ -432,7 +440,8 @@ public void testBulkUpdate_entitiesWithNoUpdateOperations() throws Exception {
432440 entityFetcher ,
433441 mock (Channel .class ),
434442 1 ,
435- 1000 );
443+ 1000 ,
444+ 5000 );
436445 eqs .bulkUpdate (bulkUpdateRequest , mockResponseObserver );
437446 return null ;
438447 });
@@ -478,7 +487,8 @@ public void testBulkUpdate_success() throws Exception {
478487 entityFetcher ,
479488 mock (Channel .class ),
480489 1 ,
481- 1000 );
490+ 1000 ,
491+ 5000 );
482492 eqs .bulkUpdate (bulkUpdateRequest , mockResponseObserver );
483493 return null ;
484494 });
@@ -518,7 +528,8 @@ void testBulkUpdateAllMatchingFilter_noTenantId() throws Exception {
518528 entityFetcher ,
519529 mock (Channel .class ),
520530 1 ,
521- 1000 );
531+ 1000 ,
532+ 5000 );
522533
523534 eqs .bulkUpdateAllMatchingFilter (null , mockResponseObserver );
524535
@@ -551,7 +562,8 @@ void testBulkUpdateAllMatchingFilter_noEntityType() throws Exception {
551562 entityFetcher ,
552563 mock (Channel .class ),
553564 1 ,
554- 1000 );
565+ 1000 ,
566+ 5000 );
555567
556568 eqs .bulkUpdateAllMatchingFilter (
557569 BulkUpdateAllMatchingFilterRequest .newBuilder ().build (), mockResponseObserver );
@@ -588,7 +600,8 @@ void testBulkUpdateAllMatchingFilter_entitiesWithNoUpdateOperations() throws Exc
588600 entityFetcher ,
589601 mock (Channel .class ),
590602 1 ,
591- 1000 );
603+ 1000 ,
604+ 5000 );
592605 eqs .bulkUpdateAllMatchingFilter (bulkUpdateRequest , mockResponseObserver );
593606
594607 verify (mockResponseObserver , times (1 ))
@@ -687,7 +700,8 @@ void testBulkUpdateAllMatchingFilter_success() throws Exception {
687700 entityFetcher ,
688701 mock (Channel .class ),
689702 1 ,
690- 1000 );
703+ 1000 ,
704+ 5000 );
691705 eqs .bulkUpdateAllMatchingFilter (bulkUpdateRequest , mockResponseObserver );
692706 return null ;
693707 });
@@ -726,7 +740,8 @@ public void testExecute_noTenantId() throws Exception {
726740 entityFetcher ,
727741 mock (Channel .class ),
728742 1 ,
729- 1000 );
743+ 1000 ,
744+ 5000 );
730745
731746 eqs .execute (null , mockResponseObserver );
732747
@@ -802,7 +817,8 @@ public void testExecute_success() throws Exception {
802817 new EntityCounterMetricSender (),
803818 mock (Channel .class ),
804819 1 ,
805- 1000 );
820+ 1000 ,
821+ 5000 );
806822
807823 eqs .execute (request , mockResponseObserver );
808824 return null ;
@@ -893,7 +909,8 @@ public void testExecute_success_chunksize_2() throws Exception {
893909 new EntityCounterMetricSender (),
894910 mock (Channel .class ),
895911 2 ,
896- 1000 );
912+ 1000 ,
913+ 5000 );
897914
898915 eqs .execute (request , mockResponseObserver );
899916 return null ;
@@ -947,7 +964,8 @@ void testBulkUpdateEntityArrayAttribute() throws Exception {
947964 entityFetcher ,
948965 mock (Channel .class ),
949966 1 ,
950- 1000 );
967+ 1000 ,
968+ 5000 );
951969 eqs .bulkUpdateEntityArrayAttribute (request , mockResponseObserver );
952970 return null ;
953971 });
@@ -1020,7 +1038,8 @@ public void testDeleteEntities() throws IOException {
10201038 entityFetcher ,
10211039 mock (Channel .class ),
10221040 100 ,
1023- 1000 );
1041+ 1000 ,
1042+ 5000 );
10241043
10251044 eqs .deleteEntities (request , mockResponseObserver );
10261045 });
@@ -1093,7 +1112,8 @@ public void testExecute_withAliases() throws Exception {
10931112 entityFetcher ,
10941113 mock (Channel .class ),
10951114 100 ,
1096- 1000 );
1115+ 1000 ,
1116+ 5000 );
10971117
10981118 eqs .execute (request , mockResponseObserver );
10991119 });
@@ -1140,7 +1160,8 @@ public void test_buildTotalQuery() throws Exception {
11401160 entityFetcher ,
11411161 mock (Channel .class ),
11421162 1 ,
1143- 1000 );
1163+ 1000 ,
1164+ 5000 );
11441165 StreamObserver <TotalEntitiesResponse > mockResponseObserver = mock (StreamObserver .class );
11451166
11461167 Context .current ()
@@ -1186,7 +1207,8 @@ public void test_sendCorrectTotalResponse() throws Exception {
11861207 entityFetcher ,
11871208 mock (Channel .class ),
11881209 1 ,
1189- 1000 );
1210+ 1000 ,
1211+ 5000 );
11901212 StreamObserver <TotalEntitiesResponse > mockResponseObserver = mock (StreamObserver .class );
11911213
11921214 when (entitiesCollection .total (any ())).thenReturn (123L );
0 commit comments