Skip to content

Commit 553f9da

Browse files
committed
additional log for end2end test
1 parent 2bfb019 commit 553f9da

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pkg/pub_worker/test/dockerized_end2end_test.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,14 @@ void main() {
7575
final version = versions[i];
7676
final result = await server.waitForResult(package, version);
7777

78+
final logTxtBytes = result.lookup('log.txt');
79+
final logTxt = logTxtBytes == null
80+
? '[no log.txt]'
81+
: utf8.decode(gzip.decode(logTxtBytes));
82+
7883
final docIndex = result.index.lookup('doc/index.html');
7984
expect(docIndex, isNotNull,
80-
reason: '$package must have documentation');
85+
reason: '$package must have documentation, see log:\n$logTxt');
8186

8287
final panaSummaryBytes = result.lookup('summary.json');
8388
expect(panaSummaryBytes, isNotNull);

0 commit comments

Comments
 (0)