Skip to content

Commit b519e91

Browse files
committed
pbft/batch: ignore byzantine node state in test
Signed-off-by: Simon Schubert <[email protected]>
1 parent 8b6eb2f commit b519e91

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

consensus/obcpbft/obc-batch_test.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,11 @@ func TestBatchCustody(t *testing.T) {
102102
time.Sleep(6 * time.Second)
103103
net.stop()
104104

105-
for _, inst := range net.endpoints {
105+
for i, inst := range net.endpoints {
106+
// Don't care about byzantine node 0
107+
if i == 0 {
108+
continue
109+
}
106110
inst := inst.(*consumerEndpoint)
107111
_, err := inst.consumer.(*obcBatch).stack.GetBlock(1)
108112
if err != nil {

0 commit comments

Comments
 (0)