Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
comms
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
xx network
comms
Commits
8c398ff5
Commit
8c398ff5
authored
2 years ago
by
Jonah Husson
Browse files
Options
Downloads
Patches
Plain Diff
Fix tests
parent
364eeb32
Branches
Branches containing commit
Tags
Tags containing commit
4 merge requests
!47
Project/https support
,
!46
Swap to using GetCertificate in tlsconf so the cert can be changed
,
!45
re-enable https for servewithweb, add function to provide certs when available
,
!39
Merge release into master
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
connect/connection_test.go
+11
-9
11 additions, 9 deletions
connect/connection_test.go
with
11 additions
and
9 deletions
connect/connection_test.go
+
11
−
9
View file @
8c398ff5
...
...
@@ -2,6 +2,7 @@ package connect
import
(
"context"
"crypto/tls"
"gitlab.com/xx_network/comms/connect/token"
pb
"gitlab.com/xx_network/comms/messages"
"gitlab.com/xx_network/comms/testkeys"
...
...
@@ -136,6 +137,7 @@ func TestWebConnection_TLS(t *testing.T) {
grpcServer
:
s
,
pubKeyPem
:
certBytes
,
salt
:
nil
,
httpsCredChan
:
make
(
chan
tls
.
Certificate
,
1
),
}
pc
.
ServeWithWeb
()
...
...
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