Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
a1b87219
Commit
a1b87219
authored
Dec 28, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3a5f3a45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
go/neo/client_test.go
go/neo/client_test.go
+4
-9
No files found.
go/neo/client_test.go
View file @
a1b87219
...
...
@@ -76,11 +76,6 @@ type NEOPySrv struct {
errExit
error
// error from Wait
masterAddr
string
// address of master in spawned cluster
// CA/Cert/Key used for SSL exchange. Empty if SSL is not used
CA
string
Cert
string
Key
string
}
func
(
_
*
NEOPySrv
)
Bugs
()
[]
string
{
...
...
@@ -309,7 +304,7 @@ func (n *NEOGoSrv) URL() string {
const
npytests
=
"../../neo/tests/"
// CA/Cert/Key files to use if opt.SSL=y
// CA/Cert/Key files to use if opt.SSL=y
; empty if SSL=n.
func
(
opt
NEOSrvOptions
)
CA
()
string
{
if
!
opt
.
SSL
{
return
""
}
return
npytests
+
"ca.crt"
...
...
@@ -399,9 +394,9 @@ func withNEOSrv(t *testing.T, f func(t *testing.T, nsrv NEOSrv), optv ...tOption
"-c"
,
npy
.
ClusterName
(),
)
if
ssl
{
cmd
.
Args
=
append
(
cmd
.
Args
,
"--ca"
,
n
py
.
CA
)
cmd
.
Args
=
append
(
cmd
.
Args
,
"--cert"
,
n
py
.
Cert
)
cmd
.
Args
=
append
(
cmd
.
Args
,
"--key"
,
n
py
.
Key
)
cmd
.
Args
=
append
(
cmd
.
Args
,
"--ca"
,
n
eoOpt
.
CA
()
)
cmd
.
Args
=
append
(
cmd
.
Args
,
"--cert"
,
n
eoOpt
.
Cert
()
)
cmd
.
Args
=
append
(
cmd
.
Args
,
"--key"
,
n
eoOpt
.
Key
()
)
}
cmd
.
Args
=
append
(
cmd
.
Args
,
opt
.
Preload
,
...
...
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