test: db: fix test to have a smaller timeout for when it runs on faster ...

...hardware