We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c94a0e9 commit 6aca89cCopy full SHA for 6aca89c
storage/ndb/rest-server/rest-api-server/internal/dal/heap/heap_test.go
@@ -84,7 +84,7 @@ func TestHeap(t *testing.T) {
84
// Note that we now have more FreeBuffers than initially
85
// TODO: Figure out whether we want this to happen
86
stats = heap.GetNativeBuffersStats()
87
- if stats.FreeBuffers != allocations {
+ if stats.FreeBuffers != int64(conf.Internal.PreAllocatedBuffers) {
88
t.Fatalf("Number of free buffers does not match. Expecting: %d, Got: %d",
89
allocations, stats.FreeBuffers)
90
}
0 commit comments