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

Fix option lock test #995

Merged
merged 3 commits into from
Sep 25, 2023
Merged

Fix option lock test #995

merged 3 commits into from
Sep 25, 2023

Conversation

barryhughes
Copy link
Member

@barryhughes barryhughes commented Sep 22, 2023

Fixes a couple of items (thank you @lsinger for raising awareness!):

  • The lock tests were not part of the main test suite.
  • One of the lock tests made the wrong assumption about the shape of an update query, and was failing.

Worth calling out: I'm deliberately suppressing database errors (but only temporarily). Without the suppression, if you run the test suite locally, you will notice unwanted noise in the output:

Screenshot 2023-09-22 at 09 17 39

If there are any concerns with this, let me know.

@barryhughes barryhughes marked this pull request as ready for review September 22, 2023 16:57
Copy link
Contributor

@lsinger lsinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. :shipit:

Two of the unit test runs are failing because WordPress 6.3 requires PHP 7+, which is of course unrelated to this PR. I'll open a separate issue for that.

@barryhughes
Copy link
Member Author

Two of the unit test runs are failing because WordPress 6.3 requires PHP 7+, which is of course unrelated to this PR. I'll open a separate issue for that.

Thanks! Yes, and we also need to make it possible to run the tests under 8.2 (but that's yet another problem...).

@barryhughes barryhughes merged commit 2da4f47 into trunk Sep 25, 2023
36 of 38 checks passed
@barryhughes barryhughes deleted the fix/option-lock-test branch September 25, 2023 18:03
@barryhughes barryhughes added this to the 3.6.4 milestone Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants