You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Set up the content database definition as described above. Make sure there's at least one index or something non-standard.
Run mlDeploy or mlDeployDatabases
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.
The text was updated successfully, but these errors were encountered:
Describe the bug
When I run
mlDeploy
(ormlDeployDatabases
ormlUpdateIndexes
), 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:
{mlAppName}-content.json
."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:
mlDeploy
ormlDeployDatabases
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.
The text was updated successfully, but these errors were encountered: