提交 300187ac 作者: Jeromy Johnson 提交者: GitHub

Merge pull request #3242 from ipfs/test/repro-random-fail

trying to debug random test failures
......@@ -98,7 +98,8 @@ test_add_cat_5MB() {
'
test_expect_success "'ipfs add bigfile' succeeds" '
ipfs add mountdir/bigfile >actual
ipfs add mountdir/bigfile >actual ||
test_fsh cat daemon_err
'
test_expect_success "'ipfs add bigfile' output looks good" '
......
......@@ -21,9 +21,13 @@ apiport=$API_PORT
# define a function to test a gateway, and do so for each port.
# for now we check 5001 here as 5002 will be checked in gateway-writable.
test_expect_success "GET IPFS path succeeds" '
test_expect_success "Make a file to test with" '
echo "Hello Worlds!" >expected &&
HASH=$(ipfs add -q expected) &&
HASH=$(ipfs add -q expected) ||
test_fsh cat daemon_err
'
test_expect_success "GET IPFS path succeeds" '
curl -sfo actual "http://127.0.0.1:$port/ipfs/$HASH"
'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论