Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Tests failing randomly #935

Closed
rasmuserik opened this issue Jul 26, 2017 · 1 comment
Closed

Tests failing randomly #935

rasmuserik opened this issue Jul 26, 2017 · 1 comment

Comments

@rasmuserik
Copy link
Contributor

rasmuserik commented Jul 26, 2017

  • Version: latest github as of 2017-07-24
  • Platform: travis and local (slow) linux computer
  • Subsystem: testing

Type:

chore

Severity:

medium

Description:

Tests fails randomly, both for pull requests (#933) on travis, i.e. https://travis-ci.org/ipfs/js-ipfs/builds/256931792, and when running tests during development.

The actual point of failing varies, but it looks as if it is due to timeouts, or processes that have not had time to start, before getting connected to. I think it would be fixed by increasing the test timeouts, and the delay before connecting to started jobs.

Rerunning the test usually works (which makes sense, as it becomes faster, due to files in cache).

Steps to reproduce the error:

npm run test and be (un-)lucky ;)


I don't plan to look into this right now, but if it annoys me enough, I might do it later, if nobody else does.

@daviddias
Copy link
Member

@rasmuserik thank you for the bug report, investigation is happening here: #932

MicrowaveDev pushed a commit to galtproject/js-ipfs that referenced this issue May 22, 2020
The protocol is used to construct the request, and it's useful to
be able to check it has been set correctly, so we add it here to
he the util.getEndpointConfig() return value.

License: MIT
Signed-off-by: Oli Evans <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants