You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To test unsafe consumers like collect, we need some negative tests of evil producers that fail to uphold their end of the bargain in various ways; we would want to be sure that the collect consumer doesn't fail under those cases.
Here are some ideas:
fail to produce correct number of items
produce too many items
abuse consumer protocol by never calling complete
abuse consumer protocol by leaking calling
not sure what else
The text was updated successfully, but these errors were encountered:
`CollectConsumer` uses unsafe code but is not intended to "trust"
the producers, which are not generally unsafe, so it should be
ready for anything.
cc #53
`CollectConsumer` uses unsafe code but is not intended to "trust"
the producers, which are not generally unsafe, so it should be
ready for anything.
cc #53
To test unsafe consumers like collect, we need some negative tests of evil producers that fail to uphold their end of the bargain in various ways; we would want to be sure that the
collect
consumer doesn't fail under those cases.Here are some ideas:
complete
The text was updated successfully, but these errors were encountered: