Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
goshimmer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iota-imt
goshimmer
Commits
3594b008
Commit
3594b008
authored
4 years ago
by
capossele
Browse files
Options
Downloads
Patches
Plain Diff
fix shutdown
parent
ffa0e49f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/integration-tests/tester/framework/drngnetwork.go
+2
-3
2 additions, 3 deletions
tools/integration-tests/tester/framework/drngnetwork.go
with
2 additions
and
3 deletions
tools/integration-tests/tester/framework/drngnetwork.go
+
2
−
3
View file @
3594b008
...
...
@@ -88,8 +88,7 @@ func (n *DRNGNetwork) CreateMember(leader bool) (*Drand, error) {
// Shutdown creates logs and removes network and containers.
// Should always be called when a network is not needed anymore!
func
(
n
*
DRNGNetwork
)
Shutdown
()
error
{
defer
n
.
network
.
Shutdown
()
// stop drand members
for
_
,
p
:=
range
n
.
members
{
err
:=
p
.
Stop
()
if
err
!=
nil
{
...
...
@@ -117,7 +116,7 @@ func (n *DRNGNetwork) Shutdown() error {
}
}
return
n
il
return
n
.
network
.
Shutdown
()
}
// WaitForDKG waits until all members have concluded the DKG phase.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment