Skip to content

Commit

Permalink
Merge PR #4603: Increase server package's coverage by adding DONTCOVER
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio authored and alexanderbez committed Jun 20, 2019
1 parent eda558b commit 6672e70
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,5 @@ func startInProcess(ctx *Context, appCreator AppCreator) (*node.Node, error) {
// run forever (the node will not be returned)
select {}
}

// DONTCOVER
2 changes: 2 additions & 0 deletions server/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ func SetupViper(t *testing.T) func() {
}
}
}

// DONTCOVER
2 changes: 2 additions & 0 deletions server/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,5 @@ func addrToIP(addr net.Addr) net.IP {
}
return ip
}

// DONTCOVER

0 comments on commit 6672e70

Please sign in to comment.