Skip to content

Commit 715cb23

Browse files
committed
update test
1 parent 1d2fd55 commit 715cb23

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_otaclient_common/test_retry_task_map.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ def test_retry_exceed_total_retry_limit(self):
120120
assert failure_count >= MAX_TOTAL_RETRY
121121

122122
def test_retry_exceed_entry_retry_limit(self):
123-
MAX_RETRY_ON_ENTRY = 200
123+
MAX_RETRY_ON_ENTRY = 30
124124
with retry_task_map.ThreadPoolExecutorWithRetry(
125-
max_concurrent=MAX_CONCURRENT,
125+
max_concurrent=16,
126126
max_retry_on_entry=MAX_RETRY_ON_ENTRY,
127127
initializer=_thread_initializer,
128128
initargs=(THREAD_INIT_MSG,),

0 commit comments

Comments
 (0)