From e049228e17193bfb41cf497827f6ba6827c88ca0 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 25 Jan 2018 21:23:51 -0800 Subject: [PATCH] fix namesys pubsub sharness tests We *expect* name resolution to fail as nothing has been published. License: MIT Signed-off-by: Steven Allen --- test/sharness/t0183-namesys-pubsub.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/sharness/t0183-namesys-pubsub.sh b/test/sharness/t0183-namesys-pubsub.sh index f4684af4c..91bddea4d 100755 --- a/test/sharness/t0183-namesys-pubsub.sh +++ b/test/sharness/t0183-namesys-pubsub.sh @@ -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' '