Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-84769

Random failure on test_export_for_template with data set "Tomorrow|Yesterday with relatives"

XMLWordPrintable

    • 2
    • HQ 2025 Sprint I1.2 Moppies

      Started happening after MDL-83873 was integrated.

      There are two related unit tests failing randomly:

      test_export_for_template with data set "Yesterday with relatives"

      Console output

      1) core_calendar\output\humandate_test::test_export_for_template with data set "Yesterday with relatives" (-87000, true, 'Yesterday', true, true, false)
      Field needtitle does not match
      Failed asserting that false matches expected true.
       
      /var/www/html/calendar/tests/output/humandate_test.php:193
      /var/www/html/calendar/tests/output/humandate_test.php:70
      

      Failed build: https://ci.moodle.org/job/S.01.03%20-%20PHPUnit%20-%20MariaDB%20(lowest%20+%20mlbackend)/1598/

      test_export_for_template with data set "Tomorrow with relatives"

      Console output

      1) core_calendar\output\humandate_test::test_export_for_template with data set "Tomorrow with relatives" (87000, true, 'Tomorrow', false, true, false)
      Field needtitle does not match
      Failed asserting that false matches expected true.
       
      /var/www/html/calendar/tests/output/humandate_test.php:193
      /var/www/html/calendar/tests/output/humandate_test.php:70
      

      Failed build: https://ci.moodle.org/job/W.17.01%20-%20PHPUnit%20-%20Postgres%20(ro%20db%20replica%20enabled)/76/

            sarjona Sara Arjona (@sarjona)
            lameze Simey Lameze
            Carlos Escobedo Carlos Escobedo
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 50 minutes
                50m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.