JasperFx / marten

.NET Transactional Document DB and Event Store on PostgreSQL
https://martendb.io
MIT License
2.87k stars 457 forks source link

Update docs to use ResetAllMartenDataAsync() #3554

Open dxiao opened 1 week ago

dxiao commented 1 week ago

Store.Advanced.ResetAllData() is part of what you need to do for test initialization, but if you use the AsyncDaemon in your setup, all tests after the first one will timeout on Store.WaitForNonStaleProjectionDataAsync().

Quick couple line change to the documentation. Happy to iterate if this should be added to more places.