Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sharness: Fix test typo causing an empty grep #643

Merged
merged 3 commits into from Jan 14, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion sharness/t0032-ctl-health.sh
Expand Up @@ -21,7 +21,7 @@ test_expect_success IPFS,CLUSTER "health metrics without metric name fails" '
'

test_expect_success IPFS,CLUSTER "list latest metrics logged by this peer" '
pid=`docker exec ipfs sh -c "ipfs id | jq .ID"`
pid=`docker exec ipfs sh -c "ipfs id"` | jq ".ID"
hsanjuan marked this conversation as resolved.
Show resolved Hide resolved
ipfs-cluster-ctl health metrics freespace | grep -q "$pid: [0-9]* | Expire: .*T.*Z"
'

Expand Down