Hm, I vaguely recall something about thread safety issues with concurrent threads of first access on Dynamic Proxy, I think it was fixed. You can check the commit lot from the time
On Wed, Nov 26, 2008 at 5:49 AM, Sean Fuhrmann <[EMAIL PROTECTED]>wrote: > 1.2 > > > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Ayende Rahien > *Sent:* Tuesday, November 25, 2008 9:12 PM > *To:* [email protected] > *Subject:* [nhusers] Re: Load Testing - Creating a proxy instance failed > > > > What version? > > On Wed, Nov 26, 2008 at 5:05 AM, Sean Fuhrmann < > [EMAIL PROTECTED]> wrote: > > I have been building some concurrency load tests to test our backend (which > uses NHibernate), and the back-end calls have been load testing great, no > issues there. > > > > But our test code (MS Test) builds its own NHibernate session, and does > some queries (to verify the results of the test). I create a session in the > TestInitialize, and close it in the TestCleanup, so each test gets its own > session. > > > > Now if I run a load test for 10 minutes, with 15 concurrent "users" (which > results in about 5,000 tests executing), I only see the following error > popup at the very beginning of the run, for a small handful of tests, say 5 > to 10, so the number is not consistent, but it's always fine after the first > few tests. > > > > The error I get: > > > > Creating a proxy instance failed ---> System.ArgumentException: Duplicate > type name within an assembly.. > > > > Any possible thoughts? > > > > Thanks again! > > > > -Sean > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
