Skip to content

Commit

Permalink
fix namesys pubsub sharness tests
Browse files Browse the repository at this point in the history
We *expect* name resolution to fail as nothing has been published.

License: MIT
Signed-off-by: Steven Allen <[email protected]>
  • Loading branch information
Stebalien committed Jan 26, 2018
1 parent 89b98a8 commit 9536a1e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/sharness/t0183-namesys-pubsub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ test_expect_success 'check namesys pubsub state' '
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' '
ipfsi 1 name resolve /ipns/$PEERID_0 &&
ipfsi 2 name resolve /ipns/$PEERID_0
ipfsi 1 name resolve /ipns/$PEERID_0;
ipfsi 2 name resolve /ipns/$PEERID_0;
true
'

test_expect_success 'check subscriptions' '
Expand Down

0 comments on commit 9536a1e

Please sign in to comment.