[BUG] NoThunks
assertions failures when using modifyMVarMasked
#444
Labels
bug
Something isn't working
NoThunks
assertions failures when using modifyMVarMasked
#444
Describe the bug
The use of
strict-mvar
'smodifyMVarMasked_
andmodifyMVarMasked
functions in theDatabase.LSMTree.Internal.MergeSchedule
module make ourNoThunks
tests fail. We start to use these functions in #426, and subsequentlyNoThunks
assertions started failing. As part of #426, the assertions are temporarily disabled.To Reproduce
Steps to reproduce the behavior:
Test.Database.LSMTree.Normal.StateMachine.runIO
const id (assertNoThunks sesh) $ pure ()
byassertNoThunks sesh $ pure ()
cabal run lsm-tree-test -- -p '$NF=="propLockstep_RealImpl_MockFS_IO"'
Expected behavior
These
strict-mvar
functions are expected to be strict enough to not leave any (shallow) thunks in our code. We should investigate why theNoThunks
assertions fail, and then enable them again.Output
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: