mafintosh / hyperdb

Distributed scalable database
MIT License
752 stars 75 forks source link

Fuzzing fixes #103

Closed andrewosh closed 6 years ago

andrewosh commented 6 years ago

This PR includes two small changes to test case generation:

  1. The writesPerReplication Map has been moved into the tape test so that multiple generated tests can be included in a single file.
  2. Each generated test is passed through standard in order to fix small formatting issues (so that tests can be included in test/).

Also included is a bit of cleanup:

  1. testNum was not being used, as we're not saving generated tests to disk.
  2. generateFailingTests doesn't need to be async.