I hadn't run make check in a while while and today I discovered it was
horrendously slow. The problem lies almost entirely in the fact that we
use fsync a lot in all tests, this is because we want a "safe" behavior
for our DB, so that a system crash will not also crash the db
consistency and, at most, loose the current transaction.
This is all and well in production (and we may later want to discuss
which databases we really want to preserve at all costs), but to
perform functional test it sucks badly.
Attached find a patch that I am NOT proposing for inclusion, but that
will help all poor souls that need to do just tests.
If someone have a good idea on how to do that same thing but only
conditionally for tests (or maybe through a sssd.conf option) please
let me know.
Simo.
--
Simo Sorce * Red Hat, Inc * New York