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

test(dag): skip spec for put API #1421

Merged
merged 1 commit into from
Jul 5, 2018
Merged

Conversation

0x-r4bbit
Copy link
Contributor

Over at ipfs-inactive/interface-js-ipfs-core#323 we introduce a
test spec that ensures dag.put() honors the hashAlg option, which at
the time of this commit is ignored by the underlying ipld.put() API
(more info: 1a36375).

This commit skips that spec in js-ipfs as ipld/js-ipld#133 has to
land first to fulfill the scenario.

License: MIT
Signed-off-by: Pascal Precht pascal.precht@gmail.com

@0x-r4bbit
Copy link
Contributor Author

Kind of only makes sense to merge after ipfs-inactive/interface-js-ipfs-core#323 has landed.

@0x-r4bbit
Copy link
Contributor Author

Not sure if CI is flaky or if there's really a problem with this change on windows machines. To me it looks like failing CI is unrelated to this PR's changes.

skip: [
{
name: 'should override hash algoritm default and resolve with it',
reason: 'ipld/js-ipld/pull/133 needs to land first'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add the full URL here? CI actually turns these into clickable links e.g.

screen shot 2018-07-05 at 08 58 19

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! :)

@alanshaw
Copy link
Member

alanshaw commented Jul 5, 2018

Not sure if CI is flaky or if there's really a problem with this change on windows machines. To me it looks like failing CI is unrelated to this PR's changes.

Looks unrelated, I'm re-running the tests to double check.

Over at ipfs-inactive/interface-js-ipfs-core#323 we introduce a
test spec that ensures `dag.put()` honors the `hashAlg` option, which at
the time of this commit is ignored by the underlying `ipld.put()` API
(more info: ipfs@1a36375).

This commit skips that spec in `js-ipfs` as ipld/js-ipld#133 has to
land first to fulfill the scenario.

License: MIT
Signed-off-by: Pascal Precht <pascal.precht@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants