Skip to content
Snippets Groups Projects
Commit db778d1d authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed a bad test

parent d25cbc64
No related branches found
No related tags found
5 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!370Full round obj,!369Full round obj,!340Project/channels
......@@ -53,7 +53,7 @@ func (p *processor) Process(msg format.Message,
return
}
default:
jww.ERROR.Printf("Unrecognized broadcast method %d", p.method)
jww.FATAL.Panicf("Unrecognized broadcast method %d", p.method)
}
p.cb(payload, receptionID, round)
......
......@@ -37,7 +37,7 @@ func Test_processor_Process(t *testing.T) {
RsaPubKey: rsaPrivKey.GetPublic(),
}
cbChan := make(chan []byte)
cbChan := make(chan []byte, 1)
cb := func(payload []byte, _ receptionID.EphemeralIdentity, _ rounds.Round) {
cbChan <- payload
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment