JeremyYao commented on PR #1414:
URL: https://github.com/apache/daffodil-vscode/pull/1414#issuecomment-3292905852
I too and seeing `yarn test` fail
```bash
Daffodil Debugger
detected java homes:
[{"path":"/usr/lib/jvm/java-8-openjdk-amd64/jre","version":"1.8.0","security":462,"isJDK":false,"is64Bit":true,"executables":{"java":"/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java"}}]
choosing java home at /usr/lib/jvm/java-8-openjdk-amd64/jre, version 1.8.0,
is at least JDK 17: false
detected java homes:
[{"path":"/usr/lib/jvm/java-8-openjdk-amd64/jre","version":"1.8.0","security":462,"isJDK":false,"is64Bit":true,"executables":{"java":"/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java"}}]
choosing java home at /usr/lib/jvm/java-8-openjdk-amd64/jre, version 1.8.0,
is at least JDK 17: false
1) should output xml infoset
2) should output json infoset
Data Editor Test Suite
✔ data edit command exists (67ms)
Editor Service
✔ is running
✔ server and client versions match (2031ms)
Data Editor
rejected promise not handled within 1 second: getServerHeartbeat error: 13
INTERNAL:
getServerHeartbeat error: 13 INTERNAL:
rejected promise not handled within 1 second: getServerHeartbeat error: 13
INTERNAL:
rejected promise not handled within 1 second: getServerHeartbeat error: 13
INTERNAL:
rejected promise not handled within 1 second: getServerHeartbeat error: 13
INTERNAL:
✔ data editor opens (12037ms)
DFDL Language Test Suite
✔ Test DFDL language configured
Items Test Suite
✔ all commonItems available
✔ all elementItems available
✔ all attributeItems available
TDML Utils Test Suite
✔ Valid TDML File - Single Test Case
✔ Valid TDML File - Multiple Test Cases
✔ Valid TDML File - Single Test Case, No Namespaces
✔ Valid TDML File - Single Test Case, No Document or Infoset Elements
✔ Invalid TDML File - File Does Not Exist
No test suite found in XML buffer
✔ Invalid TDML File - Not Valid XML
✔ Append TDML Test Case (50ms)
✔ Invalid Append TDML - duplicate
Utils Test Suite
✔ Default config
✔ Get current config
✔ Setting current config
Daffodil Version
version
✔ version.ts should exist
✔ version.ts version should be same as package.json
43 passing (33s)
2 failing
1) Daffodil Debugger
should output xml infoset:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
false !== true
+ expected - actual
-false
+true
at daffodilDebugger.test.ts:125:12
at Generator.next (<anonymous>)
at fulfilled (out/tests/suite/daffodilDebugger.test.js:44:58)
2) Daffodil Debugger
should output json infoset:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
false !== true
+ expected - actual
-false
+true
at daffodilDebugger.test.ts:154:12
at Generator.next (<anonymous>)
at fulfilled (out/tests/suite/daffodilDebugger.test.js:44:58)
Error: 2 tests failed.
at index.ts:48:15
at done (node_modules/mocha/lib/mocha.js:1030:7)
[main 2025-09-15T16:00:03.617Z] Extension host with pid 27294 exited with
code: 0, signal: unknown.
Exit code: 1
Failed to run tests: Failed
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this
command.
```
--
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]