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
55791aaf
Commit
55791aaf
authored
Feb 12, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
21315313
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
go/neo/neo_test.go
go/neo/neo_test.go
+6
-6
No files found.
go/neo/neo_test.go
View file @
55791aaf
...
@@ -107,14 +107,14 @@ func _TestMasterStorage(t0 *tEnv) {
...
@@ -107,14 +107,14 @@ func _TestMasterStorage(t0 *tEnv) {
},
},
}))
}))
tMS
.
Expect
(
conntx
(
"m:2"
,
"s:2"
,
6
,
&
proto
.
LockedTransactions
{}))
tMS
.
Expect
(
conntx
(
"m:2"
,
"s:2"
,
10
,
&
proto
.
LockedTransactions
{}))
tMS
.
Expect
(
conntx
(
"s:2"
,
"m:2"
,
6
,
&
proto
.
AnswerLockedTransactions
{
tMS
.
Expect
(
conntx
(
"s:2"
,
"m:2"
,
10
,
&
proto
.
AnswerLockedTransactions
{
TidDict
:
nil
,
// map[zodb.Tid]zodb.Tid{},
TidDict
:
nil
,
// map[zodb.Tid]zodb.Tid{},
}))
}))
lastOid
,
err
:=
zstor
.
LastOid
(
bg
);
X
(
err
)
lastOid
,
err
:=
zstor
.
LastOid
(
bg
);
X
(
err
)
tMS
.
Expect
(
conntx
(
"m:2"
,
"s:2"
,
8
,
&
proto
.
LastIDs
{}))
tMS
.
Expect
(
conntx
(
"m:2"
,
"s:2"
,
12
,
&
proto
.
LastIDs
{}))
tMS
.
Expect
(
conntx
(
"s:2"
,
"m:2"
,
8
,
&
proto
.
AnswerLastIDs
{
tMS
.
Expect
(
conntx
(
"s:2"
,
"m:2"
,
12
,
&
proto
.
AnswerLastIDs
{
LastOid
:
lastOid
,
LastOid
:
lastOid
,
LastTid
:
lastTid
,
LastTid
:
lastTid
,
}))
}))
...
@@ -130,8 +130,8 @@ func _TestMasterStorage(t0 *tEnv) {
...
@@ -130,8 +130,8 @@ func _TestMasterStorage(t0 *tEnv) {
tM
.
Expect
(
clusterState
(
"m"
,
proto
.
ClusterRunning
))
tM
.
Expect
(
clusterState
(
"m"
,
proto
.
ClusterRunning
))
// TODO ^^^ should be sent to S
// TODO ^^^ should be sent to S
tMS
.
Expect
(
conntx
(
"m:2"
,
"s:2"
,
1
0
,
&
proto
.
StartOperation
{
Backup
:
false
}))
tMS
.
Expect
(
conntx
(
"m:2"
,
"s:2"
,
1
4
,
&
proto
.
StartOperation
{
Backup
:
false
}))
tMS
.
Expect
(
conntx
(
"s:2"
,
"m:2"
,
1
0
,
&
proto
.
NotifyReady
{}))
tMS
.
Expect
(
conntx
(
"s:2"
,
"m:2"
,
1
4
,
&
proto
.
NotifyReady
{}))
// TODO S leave while service
// TODO S leave while service
// TODO S join while service
// TODO S join while service
...
...
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