Skip to content

Commit

Permalink
Reduce the threshold for assuming that the corpus test population fai…
Browse files Browse the repository at this point in the history
…led in some fatal way.

Commit [b6e8040](cedar-policy/cedar-integration-tests@b6e8040) reduced the size of the tgz file by 25%, which was the likely culprit in reducing the size of the test suite.
  • Loading branch information
patjakdev committed Jul 3, 2024
1 parent 8e66cf0 commit c0573c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration_tests/corpus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ func TestCorpus(t *testing.T) {
return "tmp/" + v
}

// detect possible corpus data pipeline failure
if len(tests) < 4_000 {
// detect possible corpus data pipeline failure. As of 2024/07/02, there were 1982 tests.
if len(tests) < 100 {
t.Fatalf("corpus test count too low: %v", len(tests))
}

Expand Down

0 comments on commit c0573c5

Please sign in to comment.