-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
chore: update go-path #8436
chore: update go-path #8436
Conversation
d055f68
to
c0d9703
Compare
bf9430c
to
37c6ab8
Compare
37c6ab8
to
294e5b0
Compare
// Note: we could just check a particular path here, but it would require either greater use of the HAMT internals | ||
// or some hard coded values in the test both of which would be a pain to follow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes the test take a couple of seconds to run, which is a bit annoying if we were going to run many of these although not so bad by itself.
if timeoutCtx.Err() == nil { | ||
t.Fatal(err) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is one of the reasons I chose to do this instead of a sharness test (the other being the sharness tests are less portable which is overall just no fun).
The equivalent sharness test would have to process text outputs like "context deadline exceeded" as good and "context cancelled" as bad which is a little too close for comfort and wouldn't detect other regressions where we returned "context deadline exceeded" in error.
294e5b0
to
2c0019b
Compare
ipfs/go-path#44