On Thu, Sep 23, 2010 at 4:03 PM, Dan Nessett dnessett@yahoo.com wrote:
Thinking about this a bit, we seem to have come full circle. If we use a URL per regression test run, then we need to multiplex wiki resources. When you set up a wiki family, the resources are permanent. But, for a test run, you need to set them up, use them and then reclaim them. The resources are the db, the images directory, cache data, etc.
Computers can delete files as well as create them. Drop the database and remove the uploads directory, now it's gone *poof magic*.
Nothing has to be "multiplexed" or "locked": you create it before you start using it, and if you don't need it you can remove it when you're done with it. Nothing else will try to use it because nothing else has the same test & test run ID -- other tests will use *their* dedicated wikis. There is no overlap.
This is trivial given the idea of "make one dedicated wiki for each test run" and a basic understanding of how bulk MediaWiki installations operate. If you're trying to help plan how to run automated regression testing for MediaWiki *without* having done your basic research on how the system works, I strongly recommend you stop and do that first before continuing.
-- brion