Commit 55791aaf authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 21315313
...@@ -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", 10, &proto.StartOperation{Backup: false})) tMS.Expect(conntx("m:2", "s:2", 14, &proto.StartOperation{Backup: false}))
tMS.Expect(conntx("s:2", "m:2", 10, &proto.NotifyReady{})) tMS.Expect(conntx("s:2", "m:2", 14, &proto.NotifyReady{}))
// TODO S leave while service // TODO S leave while service
// TODO S join while service // TODO S join while service
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment