Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Re-enable interface tests and get them succeeding #83

Merged
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
3bf928e
chore: sync with ipfs/test/interface-http-go.js
SgtPooki Nov 3, 2022
07fed40
chore: install multiple go-ipfs versions
SgtPooki Nov 3, 2022
58243e5
fix: .bitswap.wantlist before test
SgtPooki Nov 10, 2022
8ce3abb
fix: .bitswap.wantlistForPeer before
SgtPooki Nov 10, 2022
27db517
chore: enable running interface tests against multiple kubo versions
SgtPooki Nov 10, 2022
2a282dc
fix: bitswap ipfs spawn types
SgtPooki Nov 10, 2022
0c84c21
fix: dht utils ipfs api usage
SgtPooki Nov 10, 2022
5b9c92d
fix: dag.get test
SgtPooki Nov 10, 2022
c8b95e7
fix: dht tests
SgtPooki Nov 10, 2022
aa3948d
fix: .id test
SgtPooki Nov 10, 2022
f8598e1
fix: pinning service tests
SgtPooki Nov 10, 2022
b9e5325
fix: misc tests
SgtPooki Nov 10, 2022
0c182ff
fix: pinning tests
SgtPooki Nov 10, 2022
aa1c7e6
fix: .ping tests
SgtPooki Nov 10, 2022
63916fe
fix: .swarm.peers passes
SgtPooki Nov 22, 2022
b6f7c01
fix: .swarm.addrs passes
SgtPooki Nov 23, 2022
e22f89c
fix: .swarm.disconnect passes
SgtPooki Nov 23, 2022
bd67b63
fix: all tests are passing in node
SgtPooki Nov 23, 2022
011268f
fix: browser interface tests are passing or skipped
SgtPooki Nov 23, 2022
298f534
fix: webworker tests pass
SgtPooki Nov 23, 2022
e370e56
feat: fix webworker tests
SgtPooki Nov 29, 2022
c002718
chore: code cleanup
SgtPooki Nov 29, 2022
8ab1d39
chore: commentary and code cleanup
SgtPooki Nov 29, 2022
c57ecc4
fix: update package-lock.json
hacdias Dec 5, 2022
47b0a5a
chore: update current go-ipfs to v0.17
hacdias Dec 5, 2022
1efca00
chore: 'should compress a directory as a tarball' actually passes
hacdias Dec 5, 2022
8765872
Revert "chore: 'should compress a directory as a tarball' actually pa…
hacdias Dec 5, 2022
731b9e9
use lts on test node
hacdias Dec 5, 2022
16cc34f
fix: .pubsub.subscribe tests
SgtPooki Dec 7, 2022
e0d0f7e
chore: actually wait for factory cleanup
SgtPooki Dec 7, 2022
f29d6b8
chore: fix lint and package-lock
SgtPooki Dec 7, 2022
e0f4fb1
fix: dep-check
SgtPooki Dec 7, 2022
720791a
chore: skip .refs tests
SgtPooki Dec 7, 2022
a3daf1f
chore: remove root tests not implemented in kubo
SgtPooki Dec 7, 2022
2723b6e
chore: add lint:fix script
SgtPooki Dec 7, 2022
6185634
chore: consolidate eslint configs and add mocha plugin
SgtPooki Dec 7, 2022
e0a2eea
chore: fix mocha lint failures
SgtPooki Dec 7, 2022
3a76268
chore: remove check for cidv0 from block.put
SgtPooki Dec 7, 2022
8623205
chore: attempt to fix hang after test
SgtPooki Dec 7, 2022
33d1c6b
chore: skip broken test
SgtPooki Dec 8, 2022
7379ba0
fix: ipfs libs do not work with node LTS fetch
SgtPooki Dec 8, 2022
31e5ad6
fix: .cat beforeAll hook
SgtPooki Dec 8, 2022
60e38a2
fix: .get beforeAll
SgtPooki Dec 8, 2022
c8819db
chore: update logger name
SgtPooki Dec 8, 2022
e70563a
fix: .get test 'should get a directory'
SgtPooki Dec 8, 2022
d8efa60
chore: add dev helper scripts
SgtPooki Dec 8, 2022
01f8282
fix(test): should put a buffer, using defaults
SgtPooki Dec 8, 2022
1e98feb
chore: remove currently broken typedocs
SgtPooki Dec 8, 2022
36c5f60
fix(test): should error when removing non-existent blocks
SgtPooki Dec 8, 2022
3c47b9b
fix(test): should import car with roots but no blocks
SgtPooki Dec 8, 2022
4cbe1d0
chore: add more debug output to test
SgtPooki Dec 8, 2022
936156f
fix(test): should respect timeout option when removing a block
SgtPooki Dec 8, 2022
8c08e5d
chore(lint): fix lint failure
SgtPooki Dec 8, 2022
8e8538e
fix(test): should import car with roots but no blocks
SgtPooki Dec 9, 2022
9b7f879
fix(tests): .dag tests
SgtPooki Dec 9, 2022
4fc3866
fix(test): should fail to find other peer if peer does not exist
SgtPooki Dec 9, 2022
268f69d
chore(test): disable opsPerSec expectation
SgtPooki Dec 9, 2022
fb4a1b4
test(chore): supports concurrent writes
SgtPooki Dec 9, 2022
064dbeb
fix(tests): .pin.remote.ls
SgtPooki Dec 10, 2022
5169bb4
chore(lint): fix jsdoc complaint
SgtPooki Dec 10, 2022
5c11c55
chore(test): increase .pin.remote.rm & .rmAll timeouts
SgtPooki Dec 10, 2022
f18ecbb
fix(test): should receive multiple messages
SgtPooki Dec 10, 2022
16b6925
fix(test): should receive messages from a different node on lots of t…
SgtPooki Dec 10, 2022
e0ee6e2
fix(test): should unsubscribe individual handlers
SgtPooki Dec 10, 2022
7fe16b7
fix(test): .pubsub.peers
SgtPooki Dec 10, 2022
089f71d
chore: attempt to fix 'should list "queued" pins'
SgtPooki Dec 10, 2022
80b1a9c
fix(lint): unused import
SgtPooki Dec 10, 2022
cc0941f
chore: attempt to clear pins prior to .pin.remote.ls 'after adding pi…
SgtPooki Dec 10, 2022
0b5c93e
chore(tmp): don't fail fast in CI to ease debugging
SgtPooki Dec 10, 2022
37be08a
fix(test): .pubsub.subscribe
SgtPooki Dec 12, 2022
8f5883e
fix(lint): build passes
SgtPooki Dec 12, 2022
e2e89cf
fix(test): .pin.remote.ls
SgtPooki Dec 13, 2022
bcf3c79
chore: cleanup .aegir and add more types
SgtPooki Dec 13, 2022
2a8ce3a
chore: reduce duplication in js-test-and-release workflow
SgtPooki Dec 13, 2022
652d3c8
chore(tmp): temporarily bail=false and fail-fast=false for non-node t…
SgtPooki Dec 13, 2022
d1214c6
chore: remove tests for things not implemented in kubo
SgtPooki Dec 13, 2022
a9b2b71
feat: unskip should resolve IPNS link tests
SgtPooki Dec 13, 2022
cb2566a
fix(test): .get directories
SgtPooki Dec 13, 2022
0be613a
chore(test): skip should default to blocking pin on chrome
SgtPooki Dec 13, 2022
42773b5
fix(lint): build succeeds
SgtPooki Dec 13, 2022
65d42f1
chore(test): unskip should pin dag-cbor
SgtPooki Dec 13, 2022
b3da286
chore(test): increase 'with sharding' test timeout
SgtPooki Dec 13, 2022
6fa916a
chore: remove old go-ipfs version testing support
SgtPooki Dec 13, 2022
7a11168
fix(test): node/request-api - trailer headers
SgtPooki Dec 15, 2022
e2f3aa0
fix: test running when not in node
SgtPooki Dec 15, 2022
26c1504
chore: move byCID function to utils
SgtPooki Dec 15, 2022
059ce51
fix(test): 'should import car with roots but no blocks' succeeds cons…
SgtPooki Dec 15, 2022
6c27e9d
fix(test): re-add 'should export a chunk of a file'
SgtPooki Dec 15, 2022
f39eb81
fix(test): test 'should list peers this node is connected to' specifics
SgtPooki Dec 15, 2022
70058a2
chore: address the rest of the PR comments
SgtPooki Dec 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default {
env: {
IPFSD_SERVER: `http://${server.host}:${server.server.info.port}`,
PINNING_SERVICE_ENDPOINT: pinningService.endpoint,
PINNING_SERVICE_KEY: 'secret',
ECHO_SERVER: `http://${echoServer.host}:${echoServer.port}`,
}
}
Expand Down
219 changes: 218 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,13 @@
"did-jwt": "^6.8.0",
"eslint-config-ipfs": "^3.1.0",
"eslint-plugin-jsdoc": "^39.3.6",
"go-ipfs": "^0.16.0",
"go-ipfs": "^0.12.0",
"go-ipfs-12": "npm:go-ipfs@^0.12.2",
"go-ipfs-12.0": "npm:go-ipfs@^0.12.0",
"go-ipfs-13": "npm:go-ipfs@^0.13.1",
"go-ipfs-14": "npm:go-ipfs@^0.14.0",
"go-ipfs-15": "npm:go-ipfs@^0.15.0",
"go-ipfs-16": "npm:go-ipfs@^0.16.0",
SgtPooki marked this conversation as resolved.
Show resolved Hide resolved
"ipfs-core-types": "^0.13.0",
"ipfs-unixfs": "^8.0.0",
"ipfs-unixfs-importer": "^11.0.1",
Expand Down
Loading