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
18297e2d
Commit
18297e2d
authored
Jun 03, 2015
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1326 from rht/master
Test repeat in 10 sec: increase check frequency tenfold
parents
7fbfecf6
9bdc1d60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
test/sharness/lib/test-lib.sh
test/sharness/lib/test-lib.sh
+4
-4
No files found.
test/sharness/lib/test-lib.sh
View file @
18297e2d
...
...
@@ -52,10 +52,10 @@ fi
.
../../ipfs-test-lib.sh
test_cmp_repeat_10_sec
()
{
for
i
in
1 2 3 4 5 6 7 8 9
10
for
i
in
`
seq
1
10
0
`
do
test_cmp
"
$1
"
"
$2
"
>
/dev/null
&&
return
sleep
1
sleep
0.
1
done
test_cmp
"
$1
"
"
$2
"
}
...
...
@@ -245,9 +245,9 @@ test_launch_ipfs_daemon_and_mount() {
test_kill_repeat_10_sec
()
{
# try to shut down once + wait for graceful exit
kill
$1
for
i
in
1 2 3 4 5 6 7 8 9
10
for
i
in
`
seq
1
10
0
`
do
sleep
1
sleep
0.
1
!
kill
-0
$1
2>/dev/null
&&
return
done
...
...
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