mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-27 16:07:42 +08:00
cat iptb logs on iptb failure (for debugging CI)
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
@ -17,6 +17,17 @@ check_has_connection() {
|
||||
grep "ipfs" "swarm_peers_$node" >/dev/null
|
||||
}
|
||||
|
||||
iptb() {
|
||||
if ! command iptb "$@"; then
|
||||
case "$1" in
|
||||
start|stop|connect)
|
||||
test_fsh command iptb logs '*'
|
||||
;;
|
||||
esac
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
startup_cluster() {
|
||||
num_nodes="$1"
|
||||
shift
|
||||
|
Reference in New Issue
Block a user