test: query test might work sometimes, mark it as 'might fail'
Currently it is 'expect failure' and if it works on occasion it will fail the CI build License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
Aug 28, 2017 at 18:58 UTC
bc8d72cfceccf64d63b8fe9573dd96cc270e6513
1 file changed
+2
-2
test/sharness/t0170-dht.sh
+2
-2
@@ -55,13 +55,13 @@ test_expect_success 'get' '
55
## We query 3 different keys, to statisically lower the chance that the queryer
56
## turns out to be the closest to what a key hashes to.
57
# TODO: flaky. tracked by https://github.com/ipfs/go-ipfs/issues/2620
58
-test_expect_failure 'query' '
58
+test_expect_success 'query' '
59
ipfsi 3 dht query banana >actual &&
60
ipfsi 3 dht query apple >>actual &&
61
ipfsi 3 dht query pear >>actual &&
62
PEERS=$(wc -l actual | cut -d '"'"' '"'"' -f 1) &&
63
[ -s actual ] ||
64
- test_fsh cat actual
64
+ test_might_fail test_fsh cat actual
65
'
66
67
test_expect_success 'stop iptb' '