You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are now asking IPIPs writers to provide static fixtures (CARs) files which means it's possible to create deterministic test suites, and we don't need to exercise unrelated parts of the codebase during the test (ipfs add, etc). We plan on using this approach in the gateway conformance testing work.
To validate this approach and make the transition smoother, we will upgrade the current sharness tests to use static test fixtures.
Outcomes:
Every gateway-related test relies on static car files and ipfs dag import instead of generating data at runtime
Every gateway-related test relies on deterministic ipns fixtures as well
I'll take some time to look into #7804 at the same time.
The text was updated successfully, but these errors were encountered:
laurentsenta
changed the title
sharness: use deterministic fixtures during testing
sharness: use deterministic fixtures during gateway testing
Feb 17, 2023
ipfs routing put /ipns/KEY ./record.ipns prints the SELF key, even though the record might contain a different key. It should print the key that was publish to the routing system (KEY)
Checklist
Description
This request was raised by @lidel in ipfs/gateway-conformance#2 (comment)
We are now asking IPIPs writers to provide static fixtures (CARs) files which means it's possible to create deterministic test suites, and we don't need to exercise unrelated parts of the codebase during the test (
ipfs add
, etc). We plan on using this approach in the gateway conformance testing work.To validate this approach and make the transition smoother, we will upgrade the current sharness tests to use static test fixtures.
Outcomes:
ipfs dag import
instead of generating data at runtimeI'll take some time to look into #7804 at the same time.
The text was updated successfully, but these errors were encountered: