test(server): try to reduce number to avoid CI crashing

This commit is contained in:
Elian Doran 2025-06-15 11:58:03 +03:00
parent 2d5754c005
commit 1dce202d21
No known key found for this signature in database

View File

@ -481,7 +481,7 @@ describe('Provider Streaming Integration Tests', () => {
describe('Memory Management', () => { describe('Memory Management', () => {
it('should not leak memory during long streaming sessions', async () => { it('should not leak memory during long streaming sessions', async () => {
// Reduced chunk count for CI stability - still tests memory management // Reduced chunk count for CI stability - still tests memory management
const chunkCount = 1000; // Reduced from 10000 const chunkCount = 500; // Reduced from 10000
const longSessionIterator = { const longSessionIterator = {
async *[Symbol.asyncIterator]() { async *[Symbol.asyncIterator]() {
for (let i = 0; i < chunkCount; i++) { for (let i = 0; i < chunkCount; i++) {