tests: stop updating the search engine
authorAntoine Musso <hashar@free.fr>
Fri, 4 Nov 2016 16:38:43 +0000 (17:38 +0100)
committerAntoine Musso <hashar@free.fr>
Fri, 4 Nov 2016 16:38:43 +0000 (17:38 +0100)
commitab8bafeacc9a726384aec537c2efe6db99f5c975
tree97504bbb7495efabafbd03b423d07c34a0773f68
parent939199bcea28a3b13c49c0f808d11d415660b924
tests: stop updating the search engine

While running includes/api tests, profiling reports tests are doing
hundred of inserts followed by hundred of matching deletes. That is due
to the search engine updates.

For almost all tests, there is no need to update the search engine, that
is a waste of I/O and CPU cycles.

Speed up the run by using 'SearchEngineDummy'.

Our search tests still pass since they take care of setting up a search
engine.

Change-Id: Ic10e989e27fd3901ea215f544a0490baef57f0a4
tests/common/TestSetup.php