(Tracking issue #29018)
During fuzzing, AppInitParameterInteraction may actually disable a previously set mocktime. This is confusing and can also cause non-determinism.
Fix this issue, by
- fixing the erroneous
-mocktimeparsing inAppInitParameterInteraction. - adding the missing
SetMockTimecalls to the affected fuzz init functions. - adding a
CheckGlobalsto the fuzz init, to prevent this issue in the future.
This can be tested by
- Cherry-picking the
CheckGlobals-commit onto current master and observing a fuzz failure in the touched fuzz targets. - Reverting the touched fuzz fixups and observing a fuzz failure for each target.