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
We introduced #2975 to wipe the machine context before each test. The problem is that Onbloc has 90+ tests that now have to be run sequentially, and roughly half of the tests require context to be retained (e.g. block height):
TestFunc2 gets affected by behavior in TestFunc1
if TestFunc1 changes, we need to change every test code (because for gnoswap we need to check every number(token amount)
Description
We introduced #2975 to wipe the machine context before each test. The problem is that Onbloc has 90+ tests that now have to be run sequentially, and roughly half of the tests require context to be retained (e.g. block height):
TestFunc2
gets affected by behavior inTestFunc1
TestFunc1
changes, we need to change every test code (because for gnoswap we need to check every number(token amount)Example:
gnoswap staker tc
We should consider introducing an override for machine context.
Related #1982
The text was updated successfully, but these errors were encountered: