test: E2E tests against ipfs-webui HEAD #6825
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds CircleCI config for running ipfs-webui's end to end tests against
ipfs
binary produced by this repo.It does not increase CI time, as its runs in parallel to interop tests, and those take much longer:
The goal is to catch regressions in go-ipfs+ipfs-webui interop, such as this one (hardened go-ipfs was unable to connect to peer that used weak key size):
When everything works as expected, it looks like this:
TODO
[test:e2e ] SyntaxError: Unexpected end of JSON input
ipfs init
failed becauseipfsd-ctl
uses 1024 bit keys intest
modeLIBP2P_ALLOW_WEAK_RSA_KEYS: true
in test envIPFS_GO_EXEC
is used[test:e2e ] E2E using /go-ipfs/0.5.0-dev/28a9a6501 (/tmp/circleci-workspace/bin/ipfs) with Peer ID QmXcHQoM2SFTAaxE2khR4WpPDCnouYNMPPEkqxZxKNk6oa
interop
tests suite (both run in parallel)ipfs
from this repo'sHEAD
0
(skipping, as there is no way to test for regression if upstream webui is broken)failed to negotiate security protocol: MAC verification failed
)LIBP2P_ALLOW_WEAK_RSA_KEYS=true
did not decrease minimal key size limit everywhereLIBP2P_ALLOW_WEAK_RSA_KEYS=1
fixed the "MAC verification failed" error. I updatedtrue
→1
everywhere.master