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>
Steven Allen committed
Jan 25, 2018 at 21:23 UTC
e049228e17193bfb41cf497827f6ba6827c88ca0
1 file changed
+4
-2
test/sharness/t0183-namesys-pubsub.sh
+4
-2
@@ -26,9 +26,11 @@ test_expect_success 'check namesys pubsub state' '
26
test_cmp expected state2
27
'
28
29
+# These commands are *expected* to fail. We haven't published anything yet.
30
test_expect_success 'subscribe nodes to the publisher topic' '
30
- ipfsi 1 name resolve /ipns/$PEERID_0 &&
31
- ipfsi 2 name resolve /ipns/$PEERID_0
31
+ ipfsi 1 name resolve /ipns/$PEERID_0;
32
+ ipfsi 2 name resolve /ipns/$PEERID_0;
33
+ true
34
'
35
36
test_expect_success 'check subscriptions' '