diff --git a/src/tests/tdb.t.cpp b/src/tests/tdb.t.cpp index 329c4e143..da0c075e2 100644 --- a/src/tests/tdb.t.cpp +++ b/src/tests/tdb.t.cpp @@ -55,6 +55,9 @@ int main (int argc, char** argv) unlink ("./completed.data"); unlink ("./undo.data"); + // Set the context to allow GC. + context.config.set ("gc", "on"); + // Try reading an empty database. Filter filter; std::vector all;