test_try_again_many_times(): use three times `None`'s ref count
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sun, 4 Aug 2019 14:07:18 +0000 (10:07 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Aug 2019 18:05:21 +0000 (14:05 -0400)
commite9e22c066542adb8fe20a1a2db99d77e904d8f26
treedfd36439a274f611aef4a969a8e255cb009c70c0
parentfac7b25a824b19de67884fe5dcea9dee752dda14
test_try_again_many_times(): use three times `None`'s ref count

100,000 iterations was arbitrary anyway, so let's just depend on the
initial reference count of `None` and iterate three times that since
this is the object we want to avoid destroy.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I3d587c730b4587d5381d07541d0d86ccff344858
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1822
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
tests/bindings/python/bt2/test_message_iterator.py
This page took 0.024129 seconds and 4 git commands to generate.