(NFC) LoggingDetailTest - Improve reliability of test
authorTim Otten <totten@civicrm.org>
Wed, 2 Mar 2022 01:51:00 +0000 (17:51 -0800)
committerTim Otten <totten@civicrm.org>
Wed, 2 Mar 2022 01:51:00 +0000 (17:51 -0800)
commit30a43598ef235a6f441e531b20791ee321a55623
tree41d387ee348e87b07f29f78f62de10e1b9d7f561
parent4512e43d203a667c0bcfd95da1a32bb0e19f49a6
(NFC) LoggingDetailTest - Improve reliability of test

Before
-----------------

If you run this test repeatedly, it may alternately pass and fail.  The
percentage of passes-vs-fails can vary widely (depending on the computer
where you execute).

To test this, I went to a deployment (on `test-3`) which had a fairly
high probability of failure (*failure in roughly 3/4 invocations*).

After
-----------------

On the same system, it passes consistently (*no failures after 15 invocations*).
tests/phpunit/CRM/Report/Form/Contact/LoggingDetailTest.php