Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39989

Sitestats: test failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.2, 19.0
    • Fix Version/s: None
    • Component/s: Sitestats
    • Labels:
      None
    • Environment:
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      [INFO] 
       [INFO] — maven-surefire-plugin:2.19.1:test (default-test) @ sitestats-impl —
      
      -------------------------------------------------------
       T E S T S
       -------------------------------------------------------
       Running org.sakaiproject.sitestats.test.StatsManagerTest
       Tests run: 10, Failures: 4, Errors: 0, Skipped: 1, Time elapsed: 6.151 sec <<< FAILURE! - in org.sakaiproject.sitestats.test.StatsManagerTest
       testLargeMembershipSite(org.sakaiproject.sitestats.test.StatsManagerTest) Time elapsed: 0.388 sec
       testResourceStats(org.sakaiproject.sitestats.test.StatsManagerTest) Time elapsed: 0.342 sec <<< FAILURE!
       java.lang.AssertionError: expected:<2> but was:<0>
       at org.sakaiproject.sitestats.test.StatsManagerTest.testResourceStats(StatsManagerTest.java:1095)
      
      testUsersWithVisits(org.sakaiproject.sitestats.test.StatsManagerTest) Time elapsed: 0 sec <<< FAILURE!
       java.lang.AssertionError: expected:<[user-a]> but was:<[]>
       at org.sakaiproject.sitestats.test.StatsManagerTest.testUsersWithVisits(StatsManagerTest.java:463)
      
      testSiteUsers(org.sakaiproject.sitestats.test.StatsManagerTest) Time elapsed: 0 sec
       testEventStats(org.sakaiproject.sitestats.test.StatsManagerTest) skipped
       testSummaryMethods(org.sakaiproject.sitestats.test.StatsManagerTest) Time elapsed: 0 sec <<< FAILURE!
       java.lang.AssertionError: expected:<9> but was:<0>
       at org.sakaiproject.sitestats.test.StatsManagerTest.testSummaryMethods(StatsManagerTest.java:640)
      
      testResourceInfo(org.sakaiproject.sitestats.test.StatsManagerTest) Time elapsed: 0 sec <<< FAILURE!
       java.lang.AssertionError: expected:<1> but was:<0>
       at org.sakaiproject.sitestats.test.StatsManagerTest.testResourceInfo(StatsManagerTest.java:555)
      
      testEnableVisibleSiteVisits(org.sakaiproject.sitestats.test.StatsManagerTest) Time elapsed: 0 sec
       testPreferences(org.sakaiproject.sitestats.test.StatsManagerTest) Time elapsed: 0.121 sec
       testOtherConfig(org.sakaiproject.sitestats.test.StatsManagerTest) Time elapsed: 0.011 sec
       Running org.sakaiproject.sitestats.test.LessonBuilderStatTest
       Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.sakaiproject.sitestats.test.LessonBuilderStatTest
       testCompareTo(org.sakaiproject.sitestats.test.LessonBuilderStatTest) Time elapsed: 0 sec
       Running org.sakaiproject.sitestats.test.StatsUpdateManagerTest
       Tests run: 14, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 3.546 sec - in org.sakaiproject.sitestats.test.StatsUpdateManagerTest
       testConfigIsCollectAdminEvents(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 0.014 sec
       testCollectEvent(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 0.021 sec
       testConfigIsEventContextSupported(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 0.026 sec
       testConfigIsCollectEventsForSiteWithToolOnly(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 0.041 sec
       testJobRunMethods(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 0.015 sec
       testSitePresences(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 1.233 sec
       testSiteVisits(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 0.041 sec
       testResourceActivity(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 0.04 sec
       testInvalidEvents(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 0.018 sec
       testConfigIsShowAnonymousAccessEvents(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 0.016 sec
       testActivityEvent(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 0.019 sec
       testConfigCollectThreadUpdateInterval(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 2.024 sec
       testConfigIsCollectThreadEnabled(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) skipped
       testSitePresenceSplitUpdates(org.sakaiproject.sitestats.test.StatsUpdateManagerTest) Time elapsed: 0.031 sec
       Running org.sakaiproject.sitestats.test.ReportManagerTest
       Tests run: 5, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.536 sec - in org.sakaiproject.sitestats.test.ReportManagerTest
       testGetMoreReports(org.sakaiproject.sitestats.test.ReportManagerTest) skipped
       testReportsFromOverviewPage(org.sakaiproject.sitestats.test.ReportManagerTest) skipped
       testLoadSaveReports(org.sakaiproject.sitestats.test.ReportManagerTest) Time elapsed: 0.219 sec
       testReportExporting(org.sakaiproject.sitestats.test.ReportManagerTest) Time elapsed: 0.231 sec
       testGetReport(org.sakaiproject.sitestats.test.ReportManagerTest) Time elapsed: 0.082 sec
      
      Results :
      
      Failed tests: 
       StatsManagerTest.testResourceInfo:555 expected:<1> but was:<0>
       StatsManagerTest.testResourceStats:1095 expected:<2> but was:<0>
       StatsManagerTest.testSummaryMethods:640 expected:<9> but was:<0>
       StatsManagerTest.testUsersWithVisits:463 expected:<[user-a]> but was:<[]>
      
      Tests run: 30, Failures: 4, Errors: 0, Skipped: 4
       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ern Earle R Nietzel
                Reporter:
                dhorwitz David Horwitz
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Source Code