mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 18:57:57 +08:00
sharness: disable broken test
We can no longer test this with bad keys. Unfortunately, good keys will likely contain a newline and we have no way to send such keys to the server due to how API requests are formatted.
This commit is contained in:
parent
a2a70d2cc0
commit
17533b4378
@ -30,13 +30,13 @@ test_dht() {
|
||||
'
|
||||
|
||||
# ipfs dht put <key> <value>
|
||||
test_expect_success 'put with good keys' '
|
||||
test_expect_failure 'put with good keys (#3124)' '
|
||||
ipfsi 0 dht put "$TEST_DHT_PATH" "$TEST_DHT_VALUE" | sort >putted &&
|
||||
[ -s putted ] ||
|
||||
test_fsh cat putted
|
||||
'
|
||||
|
||||
test_expect_success 'put round trips' '
|
||||
test_expect_failure 'put round trips (#3124)' '
|
||||
echo -n "$TEST_DHT_VALUE" >expected &&
|
||||
ipfsi 0 dht get "$TEST_DHT_PATH" >actual &&
|
||||
test_cmp actual expected
|
||||
|
||||
Loading…
Reference in New Issue
Block a user