Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
elixxir
client
Merge requests
!432
Control node reg
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Control node reg
controlNodeReg
into
release
Overview
0
Commits
20
Pipelines
0
Changes
2
Merged
Benjamin Wenger
requested to merge
controlNodeReg
into
release
2 years ago
Overview
0
Commits
20
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Viewing commit
b2cfa3f9
Prev
Next
Show latest version
2 files
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
b2cfa3f9
fixed tests
· b2cfa3f9
benjamin
authored
2 years ago
cmix/nodes/registrar_test.go
+
2
−
2
Options
@@ -38,7 +38,7 @@ func TestLoadRegistrar_New(t *testing.T) {
nodeChan
:=
make
(
chan
commNetwork
.
NodeGateway
,
InputChanLen
)
r
,
err
:=
LoadRegistrar
(
session
,
sender
,
&
MockClientComms
{},
rngGen
,
nodeChan
)
rngGen
,
nodeChan
,
func
()
int
{
return
100
}
)
if
err
!=
nil
{
t
.
Fatalf
(
"Failed to create new registrar: %+v"
,
err
)
}
@@ -71,7 +71,7 @@ func TestLoadRegistrar_Load(t *testing.T) {
// Load the store and check its attributes
r
,
err
:=
LoadRegistrar
(
testR
.
session
,
testR
.
sender
,
testR
.
comms
,
testR
.
rng
,
testR
.
c
)
testR
.
session
,
testR
.
sender
,
testR
.
comms
,
testR
.
rng
,
testR
.
c
,
func
()
int
{
return
100
}
)
if
err
!=
nil
{
t
.
Fatalf
(
"Unable to load store: %+v"
,
err
)
}
Loading