Skip to content

Commit f82b51f

Browse files
committed
Add comment
1 parent 5b71246 commit f82b51f

File tree

1 file changed

+6
-0
lines changed
  • extensions/ql-vscode/test/vscode-tests/activated-extension/databases

1 file changed

+6
-0
lines changed

extensions/ql-vscode/test/vscode-tests/activated-extension/databases/db-panel.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ import { AllCommands } from "../../../../src/common/commands";
2121
jest.setTimeout(60_000);
2222

2323
describe("Db panel UI commands", () => {
24+
// This test has some serious problems:
25+
// a) it runs twice: we couldn't find out why
26+
// b) all tests use the same dbConfig file, hence the tests depend on ORDER and have to use the same list name!
27+
// c) since we use a file watcher to update the config we sometimes need to wait (sleep) before accessing the config again
28+
// d) we depend on highlighted list items when adding a repo to a list. If there's not enough time in between, a test might think a list is highlighted that doesn't exist anymore
29+
2430
let storagePath: string;
2531
const commandManager = createVSCodeCommandManager<AllCommands>();
2632

0 commit comments

Comments
 (0)