Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
768c287f
Commit
768c287f
authored
Apr 10, 2020
by
Peter Rabbitson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extra potential deadlock debugging
parent
edc27793
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
test/sharness/t0054-dag-car-import-export.sh
test/sharness/t0054-dag-car-import-export.sh
+4
-7
No files found.
test/sharness/t0054-dag-car-import-export.sh
View file @
768c287f
...
...
@@ -29,14 +29,13 @@ reset_blockstore() {
do_import
()
{
node
=
$1
;
shift
bash
-c
"while [[ -e spin.gc ]]; do ipfsi
$node
repo gc >>gc_out 2>&1; done"
&
gc1_pid
=
$!
bash
-c
"while [[ -e spin.gc ]]; do ipfsi
$node
repo gc >>gc_out 2>&1; done"
&
gc2_pid
=
$!
touch
spin.gc
timeout
-s
QUIT 15 bash
-c
"while [[ -e spin.gc ]]; do ipfsi
$node
repo gc &>>gc_out; done"
&
gc1_pid
=
$!
timeout
-s
QUIT 15 bash
-c
"while [[ -e spin.gc ]]; do ipfsi
$node
repo gc &>>gc_out; done"
&
gc2_pid
=
$!
ipfsi
$node
dag import
"
$@
"
timeout
-s
QUIT 10 bash
-c
"
ipfsi
$node
dag import
$*
2>&1
"
rm
-f
spin.gc
||
true
sleep
3
kill
$gc1_pid
$gc2_pid
||
true
}
run_online_imp_exp_tests
()
{
...
...
@@ -56,7 +55,6 @@ EOE
EOE
touch
spin.gc
test_expect_success
"basic import"
'
do_import 0 \
../t0054-dag-car-import-export-data/combined_naked_roots_genesis_and_128.car \
...
...
@@ -118,7 +116,6 @@ EOE
bash -c "sleep 60; kill $cat1_pid $cat2_pid 2>/dev/null" &
'
&
touch
spin.gc
test_expect_success
"fifo import"
'
do_import 0 \
pipe_testnet \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment