Skip to content

Commit

Permalink
[pinpoint-apm#111] When a large number of grpc streams occur, the sub…
Browse files Browse the repository at this point in the history
…ChannelPool running test has different results depending on the server environment and is deleted
  • Loading branch information
feelform committed Sep 12, 2023
1 parent 845ab95 commit 16e7ab6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/client/grpc-stream.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,6 @@ function callStat(t) {
}
})
call.write(pStatMessage, () => {
if (index == 0) {
// t.true(call.call.nextCall.call.pendingWrite, "1st message is pendingWrite")
t.equal(call.call.nextCall.call.channel.subchannelPool.pool[`dns:localhost:${actualPort}`].length, 2, 'subchannel pool no related to call.write')
} else if (index == 1) {
t.equal(call.call.nextCall.call.channel.subchannelPool.pool[`dns:localhost:${actualPort}`].length, 2, `subchannel count`)
} else if (index == 10) {
t.equal(call.call.nextCall.call.channel.subchannelPool.pool[`dns:localhost:${actualPort}`].length, 2, 'subchannel pool no related to call.write')
}
})
}
call.end()
Expand Down

0 comments on commit 16e7ab6

Please sign in to comment.