Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-90

org.apache.shiro.session.mgt.DefaultSessionManagerTest.testGlobalTimeout is unreliable

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9
    • 1.0.0
    • Session Management
    • None
    • Jdk 1.6, winxp on dual core i386 Lenovo w500

    Description

      testGlobalTimeout in DefaultSessionManagerTest frequently fails on the first assert (when session is supposed to be valid), but not every time. If I increase GlobalSessionTimeout to 200ms from 125ms I couldn't make it fail. I didn't dig deep enough to find out whether the problem is indicative of a bug in the application test or just not well-constructed test.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kaosko Kalle Korhonen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: