mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-27 13:27:50 +08:00
test(sharness): pass correct timeout format to go-timeout
It takes a number, not a duration. Unfortunately, it will _also_ exit with a status of 1 in this case so the test passes.
This commit is contained in:
parent
65d9507c3d
commit
eb53fc7c34
@ -78,7 +78,7 @@ test_expect_success "add block linking to insecure" '
|
||||
'
|
||||
|
||||
test_expect_success "ipfs cat fails with code 1 and not timeout" '
|
||||
test_expect_code 1 go-timeout 1s ipfs cat QmVpsktzNeJdfWEpyeix93QJdQaBSgRNxebSbYSo9SQPGx
|
||||
test_expect_code 1 go-timeout 1 ipfs cat QmVpsktzNeJdfWEpyeix93QJdQaBSgRNxebSbYSo9SQPGx
|
||||
'
|
||||
|
||||
test_kill_ipfs_daemon
|
||||
|
||||
Loading…
Reference in New Issue
Block a user