Skip to content

Commit d3e750a

Browse files
committed
Output build log on testing related integration test failures
In service of tracking down flaky test failures like #1334, dump the build/test run log when a testing related integration test fails.
1 parent 95a6e43 commit d3e750a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integration-tests/testexplorer/utilities.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ export function assertTestResults(
160160
skipped: (state.skipped ?? []).sort(),
161161
errored: (state.errored ?? []).sort(),
162162
unknown: 0,
163-
}
163+
},
164+
"Test run results do not match expected results, test run output:\n" +
165+
testRun.runState.output.join("\n")
164166
);
165167
}
166168

0 commit comments

Comments
 (0)