Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12996

tests/lock/flock_test.php should use microtime() instead of time()

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-RC3
    • Fix Version/s: 3.1.0-RC4
    • Component/s: None
    • Labels:
      None

      Description

      ... otherwise tests might unexpectedly fail due to timing issues (especially on HHVM).

      First reported here: https://github.com/phpbb/phpbb/pull/2890

        Attachments

          Activity

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              bantu Andreas Fischer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: