stevedlawrence opened a new issue, #1627:
URL: https://github.com/apache/daffodil-vscode/issues/1627
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 test` without 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](https://github.com/apache/daffodil-vscode/issues/1557#issuecomment-4026202684)_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]