We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When test execution times out (after 5 minutes by default), the extension does not seem to notice that properly:
.actual
Version Extension:
CodeQL extension version: 1.6.12 CodeQL CLI version: 2.10.4 Platform: win32 x64
VS Code:
Version: 1.71.0 (user setup) Commit: 784b0177c56c607789f9638da7b6bf3230d47a8c Date: 2022-09-01T07:36:10.600Z Electron: 19.0.12 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Windows_NT x64 10.0.19043 Sandboxed: No
To reproduce
"--timeout=1"
(remember to revert your settings changes)
Expected behavior
Additional context The .actual file contains:
Timeout (5m0s) in api-visibility-issues#09cf2679::getATypeExposingElement#6#fffffff
(with api-visibility-issues being the query name)
api-visibility-issues
Running the test with codeql test run --format=json yields the following response (might helpful to adjust the parsing logic in the extension?):
codeql test run --format=json
{ "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:
Thanks for raising this issue. I have put this on our backlog and we will look at this issue shortly.
Sorry, something went wrong.
@stonish Can your team track this task? I'm removing it from our board.
No branches or pull requests
Describe the bug
When test execution times out (after 5 minutes by default), the extension does not seem to notice that properly:
.actual
file instead of the "CodeQL Tests" output (similar to Test compilation errors appear in output diff #819)Version
Extension:
VS Code:
To reproduce
"--timeout=1"
❌ The extension does not properly handle the test failure
(remember to revert your settings changes)
Expected behavior
.actual
fileAdditional context
The
.actual
file contains:(with
api-visibility-issues
being the query name)Running the test with
codeql test run --format=json
yields the following response (might helpful to adjust the parsing logic in the extension?):(slightly minified)
The text was updated successfully, but these errors were encountered: