Skip to content

Commit

Permalink
adjusted dockerized test
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos committed Feb 22, 2024
1 parent 3d4c860 commit 1f5766c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/pub_worker/test/dockerized_end2end_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ void main() {
.where((s) => s.grantedPoints != s.maxPoints)
.map((e) => e.summary)
.join('\n');
// temporary allow points drop, until we figure out why this is happening
var expectedDrop = 0;
// allow points drop due to lints and other temporary issues
var expectedDrop = 10;
if (failingReportSections
.contains("Issue tracker URL doesn't exist.")) {
expectedDrop = 10;
expectedDrop += 10;
}
expect(
report.grantedPoints,
report.maxPoints - expectedDrop,
greaterThanOrEqualTo(report.maxPoints - expectedDrop),
reason: failingReportSections,
);
}
Expand Down

0 comments on commit 1f5766c

Please sign in to comment.