Fix sharness init with --peers test
[AddrInfosFromP2pAddrs](https://github.com/libp2p/go-libp2p-core/blob/master/peer/addrinfo.go#L25) might not keep order therefore the tests flip.
This commit is contained in:
parent
7136d143fa
commit
128242762c
|
@ -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" '
|
||||
|
|
Loading…
Reference in New Issue
Block a user