pitrou commented on a change in pull request #11598:
URL: https://github.com/apache/arrow/pull/11598#discussion_r742644954
##########
File path: python/pyarrow/tests/test_csv.py
##########
@@ -1321,8 +1321,17 @@ def test_cancellation(self):
raise_signal = util.get_raise_signal()
# Make the interruptible workload large enough to not finish
- # before the interrupt comes, even in release mode on fast machines
- large_csv = b"a,b,c\n" + b"1,2,3\n" * 200_000_000
+ # before the interrupt comes, even in release mode on fast machines.
+ last_duration = 0.0
+ workload_size = 100_000
+
+ while last_duration < 1.0:
+ print("workload size:", workload_size)
Review comment:
You can pass the `-s` option to pytest. Alternatively, if the test
fails, the output is shown.
--
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]