Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
go-ipfs
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
jihao
go-ipfs
Commits
77052409
Unverified
提交
77052409
authored
7月 31, 2018
作者:
Steven Allen
提交者:
GitHub
7月 31, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #5315 from ipfs/fix/5272
wait for the nodes to fully stop
上级
c16a38e6
abad8ca7
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
16 行增加
和
13 行删除
+16
-13
package.json
package.json
+2
-2
iptb-lib.sh
test/sharness/lib/iptb-lib.sh
+6
-0
t0023-shutdown.sh
test/sharness/t0023-shutdown.sh
+2
-2
t0125-twonode.sh
test/sharness/t0125-twonode.sh
+1
-1
t0130-multinode.sh
test/sharness/t0130-multinode.sh
+2
-2
t0175-reprovider.sh
test/sharness/t0175-reprovider.sh
+0
-4
t0181-private-network.sh
test/sharness/t0181-private-network.sh
+2
-2
t0182-circuit-relay.sh
test/sharness/t0182-circuit-relay.sh
+1
-0
没有找到文件。
package.json
浏览文件 @
77052409
...
...
@@ -47,9 +47,9 @@
"version"
:
"0.1.3"
},
{
"hash"
:
"Qm
PCdWsL88nB7fzvhLRhBMo1QVLtt6Vm7ee7N9ZoUsqpPL
"
,
"hash"
:
"Qm
R6BuYN4nWLxm5E3WtwvSwRGR9ZHjrNPoqXYM63z98swp
"
,
"name"
:
"iptb"
,
"version"
:
"1.3.
3
"
"version"
:
"1.3.
5
"
},
{
"hash"
:
"QmPnFwZ2JXKnXgMw8CdBPxn7FWh6LLdjUjxV1fKHuJnkr8"
,
...
...
test/sharness/lib/iptb-lib.sh
浏览文件 @
77052409
...
...
@@ -56,3 +56,9 @@ startup_cluster() {
'
done
}
iptb_wait_stop
()
{
while
!
iptb
for
-each
sh
-c
'! { test -e "$IPFS_PATH/repo.lock" && fuser -f "$IPFS_PATH/repo.lock" >/dev/null; }'
;
do
go-sleep 10ms
done
}
test/sharness/t0023-shutdown.sh
浏览文件 @
77052409
...
...
@@ -13,7 +13,7 @@ test_init_ipfs
test_launch_ipfs_daemon
test_expect_success
"shutdown succeeds"
'
ipfs shutdown
ipfs shutdown
|| true # bug: https://github.com/ipfs/go-ipfs/issues/4055
'
test_expect_success
"daemon no longer running"
'
...
...
@@ -27,7 +27,7 @@ test_expect_success "daemon no longer running" '
test_launch_ipfs_daemon
--offline
test_expect_success
"shutdown succeeds"
'
ipfs shutdown
ipfs shutdown
|| true # bug: https://github.com/ipfs/go-ipfs/issues/4055
'
test_expect_success
"daemon no longer running"
'
...
...
test/sharness/t0125-twonode.sh
浏览文件 @
77052409
...
...
@@ -81,7 +81,7 @@ run_advanced_test() {
'
test_expect_success
"shut down nodes"
'
iptb stop
iptb stop
&& iptb_wait_stop
'
}
...
...
test/sharness/t0130-multinode.sh
浏览文件 @
77052409
...
...
@@ -67,7 +67,7 @@ run_basic_test() {
run_single_file_test
test_expect_success
"shut down nodes"
'
iptb stop
iptb stop
&& iptb_wait_stop
'
}
...
...
@@ -79,7 +79,7 @@ run_advanced_test() {
run_random_dir_test
test_expect_success
"shut down nodes"
'
iptb stop ||
iptb stop
&& iptb_wait_stop
||
test_fsh tail -n +1 .iptb/*/daemon.std*
'
}
...
...
test/sharness/t0175-reprovider.sh
浏览文件 @
77052409
...
...
@@ -51,10 +51,6 @@ reprovide() {
'
}
test_expect_success
'stop peer 1'
'
iptb stop 1
'
# Test 'all' strategy
init_strategy
'all'
...
...
test/sharness/t0181-private-network.sh
浏览文件 @
77052409
...
...
@@ -61,7 +61,7 @@ test_expect_success "start nodes" '
'
test_expect_success
"try connecting node in public network with priv networks"
'
iptb connect --timeout=2s [1-4] 0
test_must_fail
iptb connect --timeout=2s [1-4] 0
'
test_expect_success
"node 0 (public network) swarm is empty"
'
...
...
@@ -70,7 +70,7 @@ test_expect_success "node 0 (public network) swarm is empty" '
'
test_expect_success
"try connecting nodes in different private networks"
'
iptb connect 2 3
test_must_fail
iptb connect 2 3
'
test_expect_success
"node 3 (pnet 2) swarm is empty"
'
...
...
test/sharness/t0182-circuit-relay.sh
浏览文件 @
77052409
...
...
@@ -21,6 +21,7 @@ test_expect_success 'configure EnableRelayHop in relay node' '
test_expect_success
'restart nodes'
'
iptb stop &&
iptb_wait_stop &&
iptb start --args --routing=none
'
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论