Skip to content

Commit

Permalink
remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
wshwsh12 committed Feb 1, 2023
1 parent 088a611 commit f837127
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions store/copr/mpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,9 @@ func (m *mppIterator) sendToRespCh(resp *mppResponse) (exit bool) {
failpoint.Inject("testMPPOOMPanic", func(val failpoint.Value) {
if val.(bool) && respSize != 0 {
respSize = 1 << 30
fmt.Println(respSize)
}
})
m.memTracker.Consume(respSize)
fmt.Println(respSize)
defer m.memTracker.Consume(-respSize)
}
select {
Expand Down

0 comments on commit f837127

Please sign in to comment.