RDB fuzz test cases

Former-commit-id: 6df4d29422
This commit is contained in:
John Sully committed 2019-09-28 17:04:08 -04:00
1 parent 2c6fdf0f4e
commit 4bf3388f4e
11 files changed
+17

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
="repl-stream-db"
="repl-id"
="repl-offset"
="lua"
="redis-ver"
="ctime"
="used-mem"
="aof-preamble"
="redis-bits"
="mvcc-tstamp"
="keydb-subexpire-key"
="keydb-subexpire-when"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4
View File
@@ -5243,6 +5243,10 @@ int main(int argc, char **argv) {
aeReleaseLock(); //Finally we can dump the lock
moduleReleaseGIL(true);
// If we're just fuzzing then we've already loaded the RDB so just quit successfully
if (strstr(argv[0],"keydb-fuzz-rdb") != NULL)
return EXIT_SUCCESS;
serverAssert(cserver.cthreads > 0 && cserver.cthreads <= MAX_EVENT_LOOPS);
pthread_t rgthread[MAX_EVENT_LOOPS];
for (int iel = 0; iel < cserver.cthreads; ++iel)