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

Test content database properties not set #726

Open
dmcassel opened this issue Dec 31, 2024 · 0 comments
Open

Test content database properties not set #726

dmcassel opened this issue Dec 31, 2024 · 0 comments

Comments

@dmcassel
Copy link
Contributor

Describe the bug
When I run mlDeploy (or mlDeployDatabases or mlUpdateIndexes), the content database is deployed correctly but the call to set the properties on the test content database is not made. As a result, the test database is missing indexes, causing tests to fail.

I figured out this was due to a little non-standard configuration (old project), which is why it hasn't been a problem for other projects. On this project:

  • the name of the content database definition file was {mlAppName}-content.json.
  • in the content database definition file, we had: "database-name": "%%mlAppName%%-content",

I changed them to the standard:

  • content-database.json
  • "database-name": "%%DATABASE%%",

and it worked again. Seems odd as I thought they would be equivalent, but at least it's simple to resolve.

To Reproduce
Steps to reproduce the behavior:

  1. Set up the content database definition as described above. Make sure there's at least one index or something non-standard.
  2. Run mlDeploy or mlDeployDatabases
  3. Observe that the call to update the test content properties is not sent

Expected behavior
I had thought that the differences above would not be a problem. This could be resolved either through code (making ml-gradle work with that configuration) or documentation. Easy to work around, so I wouldn't give it high priority.

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

No branches or pull requests

1 participant