The issue here is that the elsa.db for sqlite is going in the same path every time. Depending on the order in which tests are run, sometimes it means that migrations are run on a DB which is expected to be empty but which already exists. That causes an error & test failure. Here I've just used temp folders to ensure that the DB file is in a different path every time. |
||
|---|---|---|
| .. | ||
| HostBuilderWithDuplicateActivitiesWorkflowAttributes.cs | ||
| HostBuilderWithElsaAndCommonTemporalActivitiesAttribute.cs | ||
| HostBuilderWithElsaAndHangfireAttribute.cs | ||
| HostBuilderWithElsaAndQuartzAttribute.cs | ||
| HostBuilderWithPersistableWorkflowAndEfSqliteAttribute.cs | ||
| HostBuilderWithPersistableWorkflowAndMongoDbAttribute.cs | ||
| HostBuilderWithPersistableWorkflowAttribute.cs | ||
| StubElsaContextAttribute.cs | ||
| TestingElsaOptionsBuilderExtensions.cs | ||