RDB fuzz test cases

This commit is contained in:
John Sully committed 2019-09-28 17:04:08 -04:00
1 parent 6e1e5bd08b
commit 6df4d29422
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)