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.
Steven Allen committed
Mar 10, 2021 at 17:34 UTC
eb53fc7c3460f035bca4d62609a37c1f239bcebb
1 file changed
+1
-1
test/sharness/t0275-cid-security.sh
+1
-1
@@ -78,7 +78,7 @@ test_expect_success "add block linking to insecure" '
78
'
79
80
test_expect_success "ipfs cat fails with code 1 and not timeout" '
81
- test_expect_code 1 go-timeout 1s ipfs cat QmVpsktzNeJdfWEpyeix93QJdQaBSgRNxebSbYSo9SQPGx
81
+ test_expect_code 1 go-timeout 1 ipfs cat QmVpsktzNeJdfWEpyeix93QJdQaBSgRNxebSbYSo9SQPGx
82
'
83
84
test_kill_ipfs_daemon