The Wayback Machine - https://web.archive.org/web/20230319185601/https://github.com/github/vscode-codeql/issues/1496
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
Describe the bug
When test execution times out (after 5 minutes by default), the extension does not seem to notice that properly:
.actualfile instead of the "CodeQL Tests" output (similar to Test compilation errors appear in output diff #819)Version
Extension:
VS Code:
To reproduce
"--timeout=1"(remember to revert your settings changes)
Expected behavior
.actualfileAdditional context
The
.actualfile contains:(with
api-visibility-issuesbeing the query name)Running the test with
codeql test run --format=jsonyields the following response (might helpful to adjust the parsing logic in the extension?):{ "test" : "<test-dir>/api-visibility-issues.qlref", "pass" : false, "failureStage" : "EXECUTION", "messages" : [ ], "evaluationMs" : 305698, "expected" : "<test-dir>/api-visibility-issues.expected", "actual" : "<test-dir>/api-visibility-issues.actual", "diff" : [ "--- expected", "+++ actual", "@@ -1,30 +1,1 @@", "-| ...", "+Timeout (5m0s) in api-visibility-issues#09cf2679::getATypeExposingElement#6#fffffff" ] }(slightly minified)
The text was updated successfully, but these errors were encountered: