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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running integration tests locally, they pass the first time you run them and fail subsequently.
In particular, extensions/ql-vscode/src/vscode-tests/cli-integration/databases.test.tsshould add a database from a folder fails. And I can get it passing if I clear out all of the vscode temporary databases in /private/var/folders/41/kxmfbgxj40dd2l_x63x9fw7c0000gn/T/tmp-*. (This is likely a different folder on different machines.)
The integration tests are passing on CI because they always run in a clean state.
I can think of two possibilities that might fix the problem:
Run cleanup code (eg- delete all databases) after running all the tests
Ensure we have a clean slate before starting any tests.
When running integration tests locally, they pass the first time you run them and fail subsequently.
In particular,
extensions/ql-vscode/src/vscode-tests/cli-integration/databases.test.ts
should add a database from a folder
fails. And I can get it passing if I clear out all of the vscode temporary databases in/private/var/folders/41/kxmfbgxj40dd2l_x63x9fw7c0000gn/T/tmp-*
. (This is likely a different folder on different machines.)The integration tests are passing on CI because they always run in a clean state.
I can think of two possibilities that might fix the problem:
version: CodeQL extension version: 1.5.6 CodeQL CLI version: 2.6.3 Platform: darwin x64
The text was updated successfully, but these errors were encountered: