MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / init_rlimit_large_test

Method init_rlimit_large_test

test/functional/feature_init.py:356–363  ·  view source on GitHub ↗

Test that bitcoind starts correctly when the soft RLIMIT_NOFILE limit is above INT_MAX.

(self)

Source from the content-addressed store, hash-verified

354 self.restart_node_with_fd_limit(self.RLIM_INFINITY)
355
356 def init_rlimit_large_test(self):
357 """Test that bitcoind starts correctly when the soft RLIMIT_NOFILE limit is above INT_MAX."""
358 if self.RLIM_INFINITY is None:
359 self.log.info("Skipping: resource module not available")
360 return
361
362 self.log.info("Testing node startup with fd limit above INT_MAX")
363 self.restart_node_with_fd_limit(1 << 31)
364
365 def run_test(self):
366 self.init_pid_test()

Callers 1

run_testMethod · 0.95

Calls 2

infoMethod · 0.80

Tested by

no test coverage detected