It will only work if log4net's log writer enlists the operation in the current 
transaction.  I don't know if this is the case.  It could be doing something 
fancy. 
-----Original Message-----
From: suedeuno <[EMAIL PROTECTED]>
Date: Thursday, Dec 4, 2008 8:30 am
Subject: MbUnit Rollback usage and expectation
To: "MbUnit.User" <[email protected]>Reply-To: 
[email protected]


I have a simple test that uses log4net to log a message to sql
server.

        [Test]
        [RollBack]
        public void LoggerIsSuccessful()
        {
            log.Error("Test error");
        }

Maybe I'm not using this properly but the rollback never occurs. Am I missing 
some requirement?




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" 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/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to