Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update testing/integration.md to use ResetAllMartenDataAsync()
Store.Advanced.ResetAllData() is part of what we need to do, but if you use the AsyncDaemon in your setup, all tests after the first one will timeout on Store.WaitForNonStaleProjectionDataAsync().
  • Loading branch information
David Xiao authored Nov 14, 2024
commit 53142f3865e8115609a7f39ab64f75524b0c2c4d
5 changes: 3 additions & 2 deletions docs/testing/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ public abstract class IntegrationContext : IAsyncLifetime

public async Task InitializeAsync()
{
// Using Marten, wipe out all data and reset the state
await Store.Advanced.ResetAllData();
// Using Marten, wipe out all data and reset the state.
// Also restart the async daemon if in use.
await Host.ResetAllMartenDataAsync();
}

// This is required because of the IAsyncLifetime
Expand Down