Skip to content

Conversation

@rahuls2997
Copy link
Contributor

@rahuls2997 rahuls2997 commented Sep 18, 2024

Summary

For the fix, we added a condition where while fetching list of users, we skip users where there is no hostname available.

Additional Context

The acceptance tests were failing for SLES platform. On further inspection, for SLES which was using MariaDB 10.11 version, there was a PUBLIC user created by default with no hostname. The filter and mysql expression filters out such cases and fail the resource command.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

fix mistakes

fix spec for the changed query
@rahuls2997 rahuls2997 marked this pull request as ready for review September 18, 2024 13:35
@bastelfreak bastelfreak merged commit e11ed5b into main Sep 20, 2024
@bastelfreak bastelfreak deleted the CAT-2033 branch September 20, 2024 15:08
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.

4 participants