Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-490

InterProcessLock Tests fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.2.15
    • None
    • None

    Description

      The tests in question are:

      • TestInterProcessLockRoll
      • TestInterProcessLockUnlocks

      This is actually quite bad and proves that my last attempt to introduce something that just works failed miserably. At first glance the trouble comes from the interaction with the base classes. One thing I noted is that the base class tries to write a footer when the file gets closed. But in the case of the rolling file appender the file is no longer there when this happens. Another example is that due to the error logs I'm writing the test finally noticed that the locks are acquired and released in bad order and thus result in bad behaviour.

      But these are just two examples from a bunch of issues that still have to be worked out.

      Attachments

        Activity

          People

            nachbarslumpi Dominik Psenner
            nachbarslumpi Dominik Psenner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: