-
Hi everyone 🙂 My configuration is the following:
The problem with permissions for
I have tried to run migrations before to run the tests using the following documentation: https://learn.microsoft.com/en-us/dotnet/aspire/database/ef-core-migrations, but I get concurrency issues instead. Do you have any suggestions? Thanks in advance 🙂 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This issue probably requires more investigation and time than what is allocated for a POC 🙂 I changed my approach and made the test project responsible for ensuring the database was available before running the tests by introducing a delay. It would be great anyway to be able to run initialization scripts when the container starts up, but it won't solve the issue of having the SQL Server instance ready before the test run. |
Beta Was this translation helpful? Give feedback.
This issue probably requires more investigation and time than what is allocated for a POC 🙂
I changed my approach and made the test project responsible for ensuring the database was available before running the tests by introducing a delay.
It would be great anyway to be able to run initialization scripts when the container starts up, but it won't solve the issue of having the SQL Server instance ready before the test run.