Commit 138198e7 authored by Jeromy's avatar Jeromy

print output on test failure for t0081

License: MIT
Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
parent aaaf884c
......@@ -60,11 +60,6 @@ on disk.
recursive = false
}
go func() {
<-req.Context().Done()
log.Error("CONTEXT IS OVER!")
}()
added, err := corerepo.Pin(n, req.Context(), req.Arguments(), recursive)
if err != nil {
res.SetError(err, cmds.ErrNormal)
......
......@@ -243,7 +243,8 @@ test_expect_success "some are no longer there" '
test_expect_success "recursive pin fails without objects" '
ipfs pin rm "$HASH_DIR1" &&
test_must_fail ipfs pin add -r "$HASH_DIR1" --timeout=500ms 2>err_expected8 &&
grep "context deadline exceeded" err_expected8
grep "context deadline exceeded" err_expected8 ||
test_fsh cat err_expected8
'
# test_kill_ipfs_daemon
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment