This is an automated email from the ASF dual-hosted git repository.
astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/main by this push:
new d3d82ef9b PROTON-2095: Increase the test threshold for leaking memory
d3d82ef9b is described below
commit d3d82ef9beb849100d8586b4cd2f7aa8dc8dc870
Author: Andrew Stitcher <[email protected]>
AuthorDate: Thu Feb 9 09:17:39 2023 -0500
PROTON-2095: Increase the test threshold for leaking memory
This should avoid the false negatives of the test.
---
.../tests/integration/test_PROTON_1709_application_event_object_leak.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/python/tests/integration/test_PROTON_1709_application_event_object_leak.py
b/python/tests/integration/test_PROTON_1709_application_event_object_leak.py
index c0b15b689..48014d59c 100644
--- a/python/tests/integration/test_PROTON_1709_application_event_object_leak.py
+++ b/python/tests/integration/test_PROTON_1709_application_event_object_leak.py
@@ -91,7 +91,7 @@ class Proton1709Test(unittest.TestCase):
self.assertEqual(p.counter, 100)
- self.assertTrue(object_counts[1] - object_counts[0] <= 220,
+ self.assertTrue(object_counts[1] - object_counts[0] <= 300,
"Object counts should not be increasing too fast:
{0}".format(object_counts))
self.assertTrue(object_counts[2] - object_counts[0] <= 10,
"No objects should be leaking at the end:
{0}".format(object_counts))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]