Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
610
Issues
610
List
Boards
Labels
Service Desk
Milestones
Merge Requests
109
Merge Requests
109
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
2dc4d72f
Commit
2dc4d72f
authored
Dec 24, 2019
by
Mark Andrews
Committed by
Ondřej Surý
Jan 08, 2020
3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
address some timing issues in inline system test
parent
cd17b773
Pipeline
#29878
failed with stages
in 20 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
bin/tests/system/inline/tests.sh
bin/tests/system/inline/tests.sh
+7
-12
No files found.
bin/tests/system/inline/tests.sh
View file @
2dc4d72f
...
...
@@ -1332,18 +1332,12 @@ ret=0
mv
Kdelayedkeys
*
ns3/
$RNDCCMD
10.53.0.3 loadkeys delayedkeys
>
rndc.out.ns3.pre.test
$n
2>&1
||
ret
=
1
# Wait until the zone is signed.
ans
=
1
for
i
in
1 2 3 4 5 6 7 8 9 10
do
$RNDCCMD
10.53.0.3 signing
-list
delayedkeys
>
signing.out.test
$n
2>&1
num
=
`
grep
"Done signing with"
signing.out.test
$n
|
wc
-l
`
if
[
$num
-eq
2
]
;
then
ans
=
0
break
fi
sleep
1
done
if
[
$ans
!=
0
]
;
then
ret
=
1
;
fi
check_done_signing
()
(
$RNDCCMD
10.53.0.3 signing
-list
delayedkeys
>
signing.out.test
$n
2>&1
num
=
`
grep
"Done signing with"
signing.out.test
$n
|
wc
-l
`
[
$num
-eq
2
]
)
retry_quiet 10 check_done_signing
||
ret
=
1
# Halt rather than stopping the server to prevent the master file from being
# flushed upon shutdown since we specifically want to avoid it.
$PERL
$SYSTEMTESTTOP
/stop.pl
--use-rndc
--halt
--port
${
CONTROLPORT
}
inline ns3
...
...
@@ -1362,6 +1356,7 @@ $PERL $SYSTEMTESTTOP/start.pl --noclean --restart --port ${PORT} inline ns3
# unless the records contained in it were scheduled for resigning, no resigning
# event will be scheduled at all since the secure zone master file contains no
# DNSSEC records.
wait_for_log 20
"all zones loaded"
ns3/named.run
||
ret
=
1
$RNDCCMD
10.53.0.3 zonestatus delayedkeys
>
rndc.out.ns3.post.test
$n
2>&1
||
ret
=
1
grep
"next resign node:"
rndc.out.ns3.post.test
$n
>
/dev/null
||
ret
=
1
if
[
$ret
!=
0
]
;
then
echo_i
"failed"
;
fi
...
...
Mark Andrews
@marka
mentioned in commit
8c857665
·
Jan 14, 2020
mentioned in commit
8c857665
mentioned in commit 8c857665d077ef66e3343260740edc4f9ddf8602
Toggle commit list
Mark Andrews
@marka
mentioned in commit
0384fb7d
·
Jan 14, 2020
mentioned in commit
0384fb7d
mentioned in commit 0384fb7d92a8c375e5776ec786dd18bddd21328a
Toggle commit list
Michał Kępień
@michal
mentioned in merge request
!2890 (merged)
·
Jan 14, 2020
mentioned in merge request
!2890 (merged)
mentioned in merge request !2890
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