Skip to content
Snippets Groups Projects
Commit 789574c0 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix pipeline

parent 3aec57a5
No related branches found
No related tags found
1 merge request!170Release
......@@ -171,7 +171,7 @@ func TestClient_GetRoundResults_HistoricalRounds(t *testing.T) {
t.Errorf("Failed to sign round in set up: %v", err)
}
err = client.network.GetInstance().RoundUpdate(ri)
_, err = client.network.GetInstance().RoundUpdate(ri)
if err != nil {
t.Errorf("Failed to upsert round in set up: %v", err)
}
......
......@@ -107,7 +107,7 @@ func setupInstance(instance interfaces.NetworkManager) error {
if err = signature.SignRsa(ri, testCert); err != nil {
return errors.Errorf("Failed to sign round info: %+v", err)
}
if err = instance.GetInstance().RoundUpdate(ri); err != nil {
if _, err = instance.GetInstance().RoundUpdate(ri); err != nil {
return errors.Errorf("Failed to RoundUpdate from from file: %+v", err)
}
......@@ -117,7 +117,7 @@ func setupInstance(instance interfaces.NetworkManager) error {
if err = signature.SignRsa(ri, testCert); err != nil {
return errors.Errorf("Failed to sign round info: %+v", err)
}
if err = instance.GetInstance().RoundUpdate(ri); err != nil {
if _, err = instance.GetInstance().RoundUpdate(ri); err != nil {
return errors.Errorf("Failed to RoundUpdate from from file: %v", err)
}
......
......@@ -90,7 +90,7 @@ func Test_attemptSendCmix(t *testing.T) {
t.Errorf("Failed to load a key for testing: %v", err)
}
rnd := ds.NewRound(ri, pubKey, nil)
inst.GetWaitingRounds().Insert(rnd)
inst.GetWaitingRounds().Insert([]*ds.Round{rnd}, nil)
i := internal.Internal{
Session: sess1,
Switchboard: sw,
......
......@@ -90,7 +90,7 @@ func Test_attemptSendManyCmix(t *testing.T) {
t.Errorf("Failed to load a key for testing: %v", err)
}
rnd := ds.NewRound(ri, pubKey, nil)
inst.GetWaitingRounds().Insert(rnd)
inst.GetWaitingRounds().Insert([]*ds.Round{rnd}, nil)
i := internal.Internal{
Session: sess1,
Switchboard: sw,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment