Skip to content

Commit 7770193

Browse files
authored
Merge pull request #135 from hanxizh9910/feature/automated-test-failure-detector
Added 2 seconds of delay to ensure that github fully process the new …
2 parents 75b21e8 + d5a3f54 commit 7770193

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/scripts/create-or-update-issues.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ module.exports = async ({github, context}) => {
186186
].join('\n'),
187187
});
188188

189+
// Small delay to allow GitHub to fully process the new issue
190+
await new Promise(resolve => setTimeout(resolve, 2000));
191+
189192
// Create one comment per failing test
190193
for (const test of tests) {
191194
const commentMarker = `<!-- test-failure: ${test.test_name} -->`;

0 commit comments

Comments
 (0)