Skip to content

Commit dbf2918

Browse files
authored
fix #4974: A thread leak issue in scaffolding unittest (#5020)
Signed-off-by: Clay <[email protected]>
1 parent aa97fbb commit dbf2918

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unittest/scaffolding/test_bench.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ def test_scaffolding_benchmark():
5252
async_scaffolding_benchmark(scaffolding_llm, task_collection_types,
5353
requests, concurrency))
5454

55+
scaffolding_llm.shutdown()
56+
5557
assert len(results) == requests_num
5658
assert len(requests_execution_time) == requests_num
5759
assert results[0].output.output_str == OUTPUT_STR

0 commit comments

Comments
 (0)