Skip to content

Commit

Permalink
Remove printing from tests (ava-labs#1618)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Jun 30, 2022
1 parent 46a1669 commit 82e5204
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions snow/consensus/avalanche/poll/set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
package poll

import (
"fmt"
"testing"

"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -205,12 +204,6 @@ func TestCreateAndFinishPollOutOfOrder_UnfinishedPollsGaps(t *testing.T) {
assert.Len(t, results, 0)
results = s.Vote(1, vdr3, []ids.ID{vtx1})
assert.Len(t, results, 3)
fmt.Println("vtx1", vtx1.String())
fmt.Println("vtx2", vtx2.String())
fmt.Println("vtx3", vtx3.String())
for i, result := range results {
fmt.Println("result[", i, "]=", result.List()[0].String())
}
assert.Equal(t, vtx1.String(), results[0].List()[0].String())
assert.Equal(t, vtx2.String(), results[1].List()[0].String())
assert.Equal(t, vtx3.String(), results[2].List()[0].String())
Expand Down
2 changes: 0 additions & 2 deletions vms/proposervm/proposer/windower_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
package proposer

import (
"fmt"
"math/rand"
"testing"
"time"
Expand Down Expand Up @@ -94,7 +93,6 @@ func TestWindowerChangeByHeight(t *testing.T) {
}
for i, expectedDelay := range expectedDelays1 {
vdrID := validatorIDs[i]
fmt.Println(vdrID)
validatorDelay, err := w.Delay(1, 0, vdrID)
assert.NoError(err)
assert.EqualValues(expectedDelay, validatorDelay)
Expand Down

0 comments on commit 82e5204

Please sign in to comment.