Giter Club home page Giter Club logo

Comments (2)

LocutusOfBorg avatar LocutusOfBorg commented on May 27, 2024

btw this fails on amd64 (randomly) and arm64 (more frequently), looks like some timeout issue?

from d3-transition.

dbungert avatar dbungert commented on May 27, 2024

To elaborate on this, arm64 (raspberry pi 4) seems really good at
reproducing a test failure.

Alternate steps to reproduce an issue, without Ubuntu-isms:

  1. install https://nodejs.org/dist/v14.17.0/node-v14.17.0-linux-arm64.tar.xz
  2. download source from https://github.com/d3/d3-transition
    (current commit abe6511)
  3. npm install -g yarn
  4. yarn install
  5. yarn run test

That setup consistently failed test 297 (40 out of 40 tests I ran):

# transition.ease(ease) passes the easing function the normalized time in [0, 1]
not ok 297 should be equal
  ---
    operator: equal
    expected: 0.584
    actual:   undefined
    at: <anonymous> (/home/dbungert/dev/d3-transition/d3-transition/test/transition/ease-test.js:53:10)
    stack: |-
      Error: should be equal
          at Test.assert [as _assert] (/home/dbungert/dev/d3-transition/d3-transition/node_modules/tape/lib/test.js:225:54)
          at Test.bound [as _assert] (/home/dbungert/dev/d3-transition/d3-transition/node_modules/tape/lib/test.js:77:32)
          at Test.equal (/home/dbungert/dev/d3-transition/d3-transition/node_modules/tape/lib/test.js:385:10)
          at Test.bound [as equal] (/home/dbungert/dev/d3-transition/d3-transition/node_modules/tape/lib/test.js:77:32)
          at /home/dbungert/dev/d3-transition/d3-transition/test/transition/ease-test.js:53:10
          at /home/dbungert/dev/d3-transition/d3-transition/node_modules/d3-timer/dist/d3-timer.js:124:5
          at timerFlush (/home/dbungert/dev/d3-transition/d3-transition/node_modules/d3-timer/dist/d3-timer.js:68:48)
          at Timeout.wake [as _onTimeout] (/home/dbungert/dev/d3-transition/d3-transition/node_modules/d3-timer/dist/d3-timer.js:78:5)
          at listOnTimeout (internal/timers.js:555:17)
          at processTimers (internal/timers.js:498:7)
  ...

Note that this is a different test failure than the first report, I'm making an
assumption here that it has the same root cause.

from d3-transition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.