-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Running yarn test sometimes results in these failures:
2 failing
1) Daffodil Debugger
should output xml infoset - debugger version 3.10.0:
Error: DialogService: refused to show dialog in tests. Contents: DialogService: refused to show dialog in tests. Contents: connect ECONNREFUSED 127.0.0.1:4711
at w.prompt (vscode-file://vscode-app/home/slawrence/owl/daffodil/vscode.git/.vscode-test/vscode-linux-x64-1.90.0/resources/app/out/vs/workbench/workbench.desktop.main.js:1446:1842)
at se.mb (vscode-file://vscode-app/home/slawrence/owl/daffodil/vscode.git/.vscode-test/vscode-linux-x64-1.90.0/resources/app/out/vs/workbench/workbench.desktop.main.js:2155:66042)
at se.hb (vscode-file://vscode-app/home/slawrence/owl/daffodil/vscode.git/.vscode-test/vscode-linux-x64-1.90.0/resources/app/out/vs/workbench/workbench.desktop.main.js:2155:59358)
at async se.startDebugging (vscode-file://vscode-app/home/slawrence/owl/daffodil/vscode.git/.vscode-test/vscode-linux-x64-1.90.0/resources/app/out/vs/workbench/workbench.desktop.main.js:2155:57446)
2) Daffodil Debugger
should output json infoset - debugger version 3.10.0:
Error: DialogService: refused to show dialog in tests. Contents: DialogService: refused to show dialog in tests. Contents: connect ECONNREFUSED 127.0.0.1:4712
at w.prompt (vscode-file://vscode-app/home/slawrence/owl/daffodil/vscode.git/.vscode-test/vscode-linux-x64-1.90.0/resources/app/out/vs/workbench/workbench.desktop.main.js:1446:1842)
at se.mb (vscode-file://vscode-app/home/slawrence/owl/daffodil/vscode.git/.vscode-test/vscode-linux-x64-1.90.0/resources/app/out/vs/workbench/workbench.desktop.main.js:2155:66042)
at se.hb (vscode-file://vscode-app/home/slawrence/owl/daffodil/vscode.git/.vscode-test/vscode-linux-x64-1.90.0/resources/app/out/vs/workbench/workbench.desktop.main.js:2155:59358)
at async se.startDebu
Steps to reproduced referenced from another issue:
If if I run
git clean -xdf && yarn install && yarn test, then those two tests consistently fail, and for a good portion of the test the VS Code GUI is slowly downloading a Daffodi 3.10.0 CLI.After yarn test finishes, every time I run
yarn testwithout git clean first, then the tests consistently pass.So it seem like some tests might need to download a new version of the Daffodil CLI, and these tests are sensitive to that taking a while? Once they are downloaded and cached that's not an issue, but maybe running git clean deletes the cache and requires the CLI to be downloaded again and leads to the failure?
Originally posted by @stevedlawrence in #1557
Metadata
Metadata
Assignees
Labels
Type
Projects
Status