mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 19:24:14 +08:00
fix: race of conditions in keystore test
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
@ -33,7 +33,8 @@ test_key_cmd() {
|
||||
'
|
||||
|
||||
test_expect_success "key list -l contains self key with peerID" '
|
||||
ipfs key list -l | grep "$(ipfs config Identity.PeerID) self"
|
||||
PeerID="$(ipfs config Identity.PeerID)"
|
||||
ipfs key list -l | grep "$PeerID self"
|
||||
'
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user