https://bugzilla.wikimedia.org/show_bug.cgi?id=50138

       Web browser: ---
            Bug ID: 50138
           Summary: unexpected zuul+Jenkins qunit test failures
           Product: Wikimedia
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Quality Assurance
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Extension EventLogging's qunit tests are failing in zuul+Jenkins, yet passing
in both Firefox and Chromium.  See e.g.

https://integration.wikimedia.org/ci/job/mwext-EventLogging-qunit/4/consoleFull

One of the failures is "1372109891198 is a timestamp" being false.  The code in
question boils down to 
    var value = new Date().getTime();

    return value instanceof Date || (
            typeof value === 'number' &&
            value >= 0 &&
            value % 1 === 0 );
which seems legit.

in my phantomjs 1.6.0 (old version) REPL loop,
   value = new Date().getTime();
prints
  'value = new Date.getTime();' is a cyclic structure

Maybe this is the cause.  If so, a workaround is to use
  value = (new Date()).getTime();

I haven't looked at the other error cases.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to