GithubHelp home page GithubHelp logo

Comments (11)

nginnever avatar nginnever commented on June 14, 2024

That output looks like it didn't even try to run the browser tests, I looked at the travis output and the tests were timing out.

cc @dignifiedquire

from js-ipfs-unixfs-engine.

hackergrrl avatar hackergrrl commented on June 14, 2024

npm test executes test:browser, making local tests fail for me. :(

from js-ipfs-unixfs-engine.

nginnever avatar nginnever commented on June 14, 2024

Sorry i didn't see that, edited my comment above.

npm run test:browser works for me

Are there any errors thrown or does it simply not test like above?

Travis seems to be failing on time out on your PR
https://github.com/nginnever/js-ipfs-data-importing/blob/master/tests/buffer-test.js#L26

Looks like you are getting disconnected from chrome?

from js-ipfs-unixfs-engine.

hackergrrl avatar hackergrrl commented on June 14, 2024

No errors output other than what I posted above.

I don't think my PR is related, since Karma tests fail even on the 0.3.0 release commit when I run them. I haven't had this problem on any other repos that have Karma tests.

from js-ipfs-unixfs-engine.

hackergrrl avatar hackergrrl commented on June 14, 2024

Fails on Firefox 45 too:

> [email protected] test:browser /home/stephen/Projects/Forks/js-ipfs-data-importing
> karma start karma.conf.js

21 03 2016 15:27:50.220:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
21 03 2016 15:27:50.234:INFO [launcher]: Starting browser Firefox
21 03 2016 15:27:51.909:INFO [Firefox 45.0.0 (Linux 0.0.0)]: Connected on socket /#qfk8zRm-4EHeX3RTAAAA with id 80250265
21 03 2016 15:27:56.820:ERROR [launcher]: Firefox crashed.

21 03 2016 15:27:56.851:INFO [launcher]: Trying to start Firefox again (1/2).
21 03 2016 15:27:58.781:WARN [Firefox 45.0.0 (Linux 0.0.0)]: Disconnected (1 times)

Firefox 45.0.0 (Linux 0.0.0): Executed 0 of 5 DISCONNECTED (6.26 secs / 0 secs)

from js-ipfs-unixfs-engine.

hackergrrl avatar hackergrrl commented on June 14, 2024

Upgraded to Chromium 49 -- no change in the error experienced.

from js-ipfs-unixfs-engine.

nginnever avatar nginnever commented on June 14, 2024

Can you try running the tests on js-ipfs-merkle-dag module? They are structured in exactly the same way but those tests don't have a 1.2Mb file to be buffered.

from js-ipfs-unixfs-engine.

hackergrrl avatar hackergrrl commented on June 14, 2024

from js-ipfs-unixfs-engine.

daviddias avatar daviddias commented on June 14, 2024

Travis is failing on 463454d yet it is not part of the history anymore. @noffle ?

Tests run fine for me on Chrome, but not on Firefox on travis(anymore) #11 . They were fine yesterday https://travis-ci.org/ipfs/js-ipfs-data-importing/builds/117366855 . @nginnever thoughts?

from js-ipfs-unixfs-engine.

daviddias avatar daviddias commented on June 14, 2024

greeeen :) #12

from js-ipfs-unixfs-engine.

hackergrrl avatar hackergrrl commented on June 14, 2024

Fixed in #8. The home-made chunker used was allocating ~O(100n) bytes, causing the 1.2mb file to crash Chrome and Firefox. I switched us to block-stream2, which is O(n) and supports zero-padding too.

from js-ipfs-unixfs-engine.

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.