Skip to content

Commit fe0cc96

Browse files
committed
fix: race of conditions in keystore test
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
1 parent 25c3e12 commit fe0cc96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/sharness/t0165-keystore.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ test_key_cmd() {
3333
'
3434

3535
test_expect_success "key list -l contains self key with peerID" '
36-
ipfs key list -l | grep "$(ipfs config Identity.PeerID) self"
36+
PeerID="$(ipfs config Identity.PeerID)"
37+
ipfs key list -l | grep "$PeerID self"
3738
'
3839
}
3940

0 commit comments

Comments
 (0)