objectcache: Remove hacky testMerge_fork() method in BagOStuffTest
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 29 Mar 2019 02:39:03 +0000 (19:39 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 29 Mar 2019 02:39:05 +0000 (19:39 -0700)
commit7ff911ba1103609cf3d6eee03d36f972d038fb21
treedff352af32799c7c23d3da912883d836d7d930fc
parent3192278eb21d228411d2d8ffddca9a8c5f5ce8a3
objectcache: Remove hacky testMerge_fork() method in BagOStuffTest

This method easily fails due to use of the same resource in each
thread after calling pcntl_fork(). This can cause thread-safety
problems like mysqli errors, which in turn make tests fail.

Change-Id: I4ff3657940c1d1cdad58bafb7449bdd0182cbe56
tests/phpunit/includes/libs/objectcache/BagOStuffTest.php