Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(NFC) LoggingDetailTest - Improve reliability of test #22867

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

totten
Copy link
Member

@totten totten commented Mar 2, 2022

Overview

Improve test reliability.

This was discussed/investigated on Mattermost among @demeritcowboy, @seamuslee001, and me. Investigation starts around https://chat.civicrm.org/civicrm/pl/ti75i31u9frq9kfgxef5qfko3y

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).

For example, on test-3, I observed a fairly high probability of test-failure (failure in roughly 3/4 invocations).

After

On the same system, it passes consistently (no failures after 15 invocations).

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*).
@civibot
Copy link

civibot bot commented Mar 2, 2022

(Standard links)

@demeritcowboy
Copy link
Contributor

Cool beans.

@demeritcowboy demeritcowboy merged commit 8f0f533 into civicrm:master Mar 2, 2022
@totten totten deleted the master-logdetail branch March 2, 2022 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants