Re: run-tests re-write
| From: | Johannes Schlüter | Date: | Thu, 16 Apr 2009 10:30:52 +0000 |
| Subject: | Re: run-tests re-write | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-64773@lists.php.net to get a copy of this message | ||
On Thu, 2009-04-16 at 12:12 +0200, Stefan Priebsch wrote:
> Pierre Joye schrieb:
> > A typical case is when many tests use the same table/columns and
> > delete/insert/update contents (usually by first droping the table or
> > emptying the contents).
>
> Then this should be easy to fix by having each test create its own test
> database with a random name. Or is there anything else that I have missed?
I won't give my test user full root rights :-)
And yes in the MySQL case this might be possible to use different tables
but this can be more compilcated with other resources being used (shared
memory? pop3-daemons for ext/imap tests, etc.) But I'd prefer some
simple locking mechanism ...
johannes