Merge pull request #870 from ipfs/fix/sharness

Fix sharness init with --peers test
This commit is contained in:
Hector Sanjuan 2019-08-06 21:52:34 +02:00 committed by GitHub
commit ecd9acbcc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,8 @@ test_expect_success "cluster-service init with --peers succeeds and fills peerst
echo $PEER1 >> testPeerstore
echo $PEER2 >> testPeerstore
ipfs-cluster-service --config "test-config" init --peers $PEER1,$PEER2 &&
test_cmp testPeerstore test-config/peerstore
grep -q $PEER1 test-config/peerstore &&
grep -q $PEER2 test-config/peerstore
'
test_expect_success "cluster-service init without --peers succeeds and creates empty peerstore" '