Skip to content

Commit

Permalink
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
Browse files Browse the repository at this point in the history
  • Loading branch information
yossigi committed Aug 28, 2023
2 parents 3162243 + 40935ed commit 27af0b6
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions agreement/credentialArrivalHistory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ import (
"testing"
"time"

"github.com/algorand/go-algorand/test/partitiontest"
"github.com/stretchr/testify/require"
)

func TestCredentialHistoryStore(t *testing.T) {
// partitiontest.PartitionTest(t)
partitiontest.PartitionTest(t)

size := 5
buffer := makeCredentialArrivalHistory(size)
// last store call overwrites the first one
Expand All @@ -40,7 +42,8 @@ func TestCredentialHistoryStore(t *testing.T) {
}

func TestCredentialHistoryReset(t *testing.T) {
// partitiontest.PartitionTest(t)
partitiontest.PartitionTest(t)

size := 5
buffer := makeCredentialArrivalHistory(size)
// last store call overwrites the first one
Expand Down Expand Up @@ -92,7 +95,8 @@ func TestCredentialHistoryIsFull(t *testing.T) {
}

func TestCredentialHisotyZeroSize(t *testing.T) {
// partitiontest.PartitionTest(t)
partitiontest.PartitionTest(t)

var buffer credentialArrivalHistory
require.False(t, buffer.isFull())

Expand All @@ -108,7 +112,8 @@ func TestCredentialHisotyZeroSize(t *testing.T) {
}

func TestOrderStatistics(t *testing.T) {
// partitiontest.PartitionTest(t)
partitiontest.PartitionTest(t)

size := 5
buffer := makeCredentialArrivalHistory(size)
require.False(t, buffer.isFull())
Expand Down

0 comments on commit 27af0b6

Please sign in to comment.