This sounds like a concurrency issue.  What database are you using?

On Oct 9, 12:04 am, Loci-master <[EMAIL PROTECTED]> wrote:
> Hello everyone.
>    For the start, I`ll explain what configuration do I use. It`s
> CakePHP 1.2.0.5427alpha and usual built-in CakePHP Test Suite v
> 1.2.0.0.
>
> The problem is: my test cases work very unstable. It can passes and in
> the next test-rerun fails with any operations on the test or model. It
> happens because my tests use the same database at the same time and
> after one test`s finish database is truncated when another test is
> still running. This problem occurs more often when I run few test
> cases simultaneously with little interval. That is why I can add this
> tests to group.
>
> I have some ideas to solve this problem, but I don`t think they are an
> excellent solution:
> 1) use sleep() method in setUp/tearDown
> 2) use as many DBConfigs as we have test cases, so every test case use
> different database.
>
>    Does someone of you, guys, have this problem? What can you suggest
> to solve it?
>
> Thanks
>
> P.S. Sorry for  my bad English


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to