1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 09:34:03 +08:00

fix namesys pubsub sharness tests

We *expect* name resolution to fail as nothing has been published.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen
2018-01-25 21:23:51 -08:00
parent d73bf86cf7
commit e049228e17

View File

@ -26,9 +26,11 @@ test_expect_success 'check namesys pubsub state' '
test_cmp expected state2 test_cmp expected state2
' '
# These commands are *expected* to fail. We haven't published anything yet.
test_expect_success 'subscribe nodes to the publisher topic' ' test_expect_success 'subscribe nodes to the publisher topic' '
ipfsi 1 name resolve /ipns/$PEERID_0 && ipfsi 1 name resolve /ipns/$PEERID_0;
ipfsi 2 name resolve /ipns/$PEERID_0 ipfsi 2 name resolve /ipns/$PEERID_0;
true
' '
test_expect_success 'check subscriptions' ' test_expect_success 'check subscriptions' '