kou commented on code in PR #45456:
URL: https://github.com/apache/arrow/pull/45456#discussion_r1945852541
##########
c_glib/test/test-memory-pool.rb:
##########
@@ -20,6 +20,7 @@ class TestMemoryPool < Test::Unit::TestCase
def setup
@memory_pool = Arrow::MemoryPool.default
+ Arrow::ResizableBuffer.new(1)
Review Comment:
We need to assign this to a variable to guard from GC during each test.
```suggestion
# Our tests assume that some memory allocated.
@buffer = Arrow::ResizableBuffer.new(1)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]