Skip to content

Commit 4d262b1

Browse files
authored
Merge pull request #7946 from ipfs/test/fixup-tests
fix some sharness-in-CI issues
2 parents 6e99535 + 8883181 commit 4d262b1

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.circleci/config.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ jobs:
129129
GOPATH: /home/circleci/go
130130
TEST_VERBOSE: 1
131131
steps:
132-
- run: sudo apt install socat
132+
- run: sudo apt update
133+
- run: sudo apt install socat net-tools
133134
- checkout
134135

135136
- run:

test/sharness/t0165-keystore.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,12 @@ ipfs key rm key_ed25519
175175
test_cmp rsa_key_id roundtrip_rsa_key_id
176176
'
177177

178-
test_must_fail "online export rsa key" '
179-
ipfs key export generated_rsa_key
178+
test_expect_success "online export rsa key" '
179+
test_must_fail ipfs key export generated_rsa_key
180180
'
181181

182-
test_must_fail "online rotate rsa key" '
183-
ipfs key rotate
182+
test_expect_success "online rotate rsa key" '
183+
test_must_fail ipfs key rotate
184184
'
185185

186186
test_kill_ipfs_daemon

0 commit comments

Comments
 (0)