Unverified Commit 0ba0c69c authored by Artem Barger's avatar Artem Barger
Browse files

[FAB-14774] fix broken raft unit test



Change-Id: I726ea00654c7fda2d72a180cc104038109ce8a34
Signed-off-by: default avatarArtem Barger <bartem@il.ibm.com>
parent 3ac8d118
......@@ -1591,7 +1591,7 @@ var _ = Describe("Chain", func() {
}
By("creating new configuration with invalid certificate")
configEnv := newConfigEnv(channelID, common.HeaderType_CONFIG, newConfigUpdateEnv(channelID, value))
configEnv := newConfigEnv(channelID, common.HeaderType_CONFIG, newConfigUpdateEnv(channelID, nil, value))
c1.cutter.CutNext = true
By("sending config transaction")
......@@ -1667,7 +1667,7 @@ var _ = Describe("Chain", func() {
}
By("creating new configuration with removed node and new one")
configEnv := newConfigEnv(channelID, common.HeaderType_CONFIG, newConfigUpdateEnv(channelID, value))
configEnv := newConfigEnv(channelID, common.HeaderType_CONFIG, newConfigUpdateEnv(channelID, nil, value))
c1.cutter.CutNext = true
By("sending config transaction")
......@@ -1709,7 +1709,7 @@ var _ = Describe("Chain", func() {
}
By("creating new configuration with removed node and new one")
configEnv := newConfigEnv(channelID, common.HeaderType_CONFIG, newConfigUpdateEnv(channelID, value))
configEnv := newConfigEnv(channelID, common.HeaderType_CONFIG, newConfigUpdateEnv(channelID, nil, value))
c1.cutter.CutNext = true
step1 := c1.getStepFunc()
......@@ -1776,7 +1776,7 @@ var _ = Describe("Chain", func() {
}, LongEventualTimeout).Should(BeNumerically(">=", cnt+5))
By("creating new configuration with removed node and new one")
configEnv := newConfigEnv(channelID, common.HeaderType_CONFIG, newConfigUpdateEnv(channelID, value))
configEnv := newConfigEnv(channelID, common.HeaderType_CONFIG, newConfigUpdateEnv(channelID, nil, value))
c1.cutter.CutNext = true
By("sending config transaction")
......
Supports Markdown
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