Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
0c2f0e02
Commit
0c2f0e02
authored
May 18, 2020
by
Mark Andrews
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wait longer (up to 20 secs) for journal to be truncated
parent
cda220ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
bin/tests/system/nsupdate/tests.sh
bin/tests/system/nsupdate/tests.sh
+4
-7
No files found.
bin/tests/system/nsupdate/tests.sh
View file @
0c2f0e02
...
...
@@ -842,14 +842,11 @@ size=`$PERL -e 'use File::stat; my $sb = stat(@ARGV[0]); printf("%s\n", $sb->siz
[
"
$size
"
-gt
6000
]
||
ret
=
1
sleep
1
$RNDCCMD
10.53.0.1
sync
maxjournal.test
for
i
in
1 2 3 4 5 6
do
sleep
1
check_size_lt_5000
()
(
size
=
`
$PERL
-e
'use File::stat; my $sb = stat(@ARGV[0]); printf("%s\n", $sb->size);'
ns1/maxjournal.db.jnl
`
[
"
$size
"
-lt
5000
]
&&
break
done
size
=
`
$PERL
-e
'use File::stat; my $sb = stat(@ARGV[0]); printf("%s\n", $sb->size);'
ns1/maxjournal.db.jnl
`
[
"
$size
"
-lt
5000
]
||
ret
=
1
[
"
$size
"
-lt
5000
]
)
retry_quiet 20 check_size_lt_5000
||
ret
=
1
[
$ret
=
0
]
||
{
echo_i
"failed"
;
status
=
1
;
}
n
=
`
expr
$n
+ 1
`
...
...
Mark Andrews
@marka
mentioned in commit
906211a0
·
May 18, 2020
mentioned in commit
906211a0
mentioned in commit 906211a02a81b7be2d4fa24afccbadd40b9ffb23
Toggle commit list
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