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 e924e7c + 79e1904 commit 3162243
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions agreement/dynamicFilterTimeoutParams_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 TestSampleIndexIsValid(t *testing.T) {
// partitiontest.PartitionTest(t)
partitiontest.PartitionTest(t)

require.GreaterOrEqual(t, dynamicFilterCredentialArrivalHistory, 0)
require.GreaterOrEqual(t, dynamicFilterTimeoutCredentialArrivalHistoryIdx, 0)
if dynamicFilterCredentialArrivalHistory > 0 {
Expand All @@ -33,6 +35,7 @@ func TestSampleIndexIsValid(t *testing.T) {
}

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

require.Less(t, 20*time.Millisecond, dynamicFilterTimeoutLowerBound)
}

0 comments on commit 3162243

Please sign in to comment.