Comments (11)
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.
from js-ipfs-unixfs-engine.
npm test
executes test:browser
, making local tests fail for me. :(
from js-ipfs-unixfs-engine.
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.
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.
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.
Upgraded to Chromium 49 -- no change in the error experienced.
from js-ipfs-unixfs-engine.
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.
from js-ipfs-unixfs-engine.
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.
greeeen :) #12
from js-ipfs-unixfs-engine.
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)
- An in-range update of async is breaking the build 🚨
- An in-range update of cids is breaking the build 🚨
- update readme HOT 2
- add methods for reading and writting data from an offset HOT 4
- Needs to learn how to take in CIDs, not just multihashes HOT 1
- Support for cat'ing and get'ing subtrees. HOT 1
- exporter: unable to use IPLDResolver .get(path) for inexistent paths HOT 3
- New test added fails HOT 2
- Browser performance issue HOT 4
- README question HOT 1
- hash field missing in files but present for directories HOT 3
- Some tests are failing on Windows
- Builder test are failing
- Update importer examples in README.md HOT 1
- feat: .get(<cid array>) from the DAG API HOT 6
- Make rabin dependency optional HOT 1
- Setting offset in catReadableStream results in incorrect stream length HOT 2
- Using rabin chunker in browser error swallowed? HOT 2
- Modularization not necessary HOT 4
- Deprecate this module?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-ipfs-unixfs-engine.