|
|
|
@ -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++) {
|
|
|
|
|