Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failures on Mac OS #574

Closed
fbricon opened this issue Oct 15, 2019 · 2 comments · Fixed by #575 or enxio/lsp4xml#2
Closed

Test failures on Mac OS #574

fbricon opened this issue Oct 15, 2019 · 2 comments · Fixed by #575 or enxio/lsp4xml#2
Assignees
Labels
bug Something isn't working
Milestone

Comments

@fbricon
Copy link
Contributor

fbricon commented Oct 15, 2019

[ERROR] Failures:
[ERROR]   XMLSchemaCompletionExtensionsTest.completionWithXMLSchemaContentChanged:396 expected:<4> but was:<5>
[ERROR]   XMLSchemaCompletionExtensionsTest.xsAny:752 expected:<8> but was:<6>
[ERROR]   XMLValidationPoolCacheTest.dtd:240->testDiagnosticsFor:246 Unexpected diagnostics:
[] expected:<[Diagnostic [
  range = Range [
    start = Position [
      line = 2
      character = 1
    ]
    end = Position [
      line = 2
      character = 5
    ]
  ]
  severity = null
  code = "MSG_CONTENT_INCOMPLETE"
  source = null
  message = ""
  relatedInformation = null
]]> but was:<[]>
[ERROR]   XMLValidationPoolCacheTest.includedSchemaLocation:139->testDiagnosticsFor:246 Unexpected diagnostics:
[Diagnostic [
  range = Range [
    start = Position [
      line = 2
      character = 2
    ]
    end = Position [
      line = 2
      character = 5
    ]
  ]
  severity = Error
  code = "cvc-complex-type.2.4.b"
  source = "xml"
  message = "Child elements are missing from element:\n - Bar\n\nThe following elements are expected:\n - FooBar\n\nError indicated by\n {the schema}\nwith code:"
  relatedInformation = null
]] expected:<[Diagnostic [
  range = Range [
    start = Position [
      line = 2
      character = 6
    ]
    end = Position [
      line = 4
      character = 1
    ]
  ]
  severity = null
  code = "cvc-complex-type.2.1"
  source = null
  message = ""
  relatedInformation = null
]]> but was:<[Diagnostic [
  range = Range [
    start = Position [
      line = 2
      character = 2
    ]
    end = Position [
      line = 2
      character = 5
    ]
  ]
  severity = null
  code = "cvc-complex-type.2.4.b"
  source = null
  message = ""
  relatedInformation = null
]]>
[INFO]
[ERROR] Tests run: 802, Failures: 4, Errors: 0, Skipped: 3
@fbricon
Copy link
Contributor Author

fbricon commented Oct 15, 2019

XMLValidationPoolCacheTest failures are caused by #572
The other 2 seem older

@angelozerr
Copy link
Contributor

@fbricon the test tests which fail on your Mac OS are linked to the dirty file. We use getlastModifiedTime.

Could you set a breakpoint like this:

image

and check you have a MS unit

angelozerr added a commit that referenced this issue Oct 16, 2019
Fixes #574

Signed-off-by: azerr <[email protected]>
angelozerr added a commit that referenced this issue Oct 16, 2019
Fixes #574

Signed-off-by: azerr <[email protected]>
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
@angelozerr angelozerr added the bug Something isn't working label Oct 16, 2019
@angelozerr angelozerr added this to the v0.9.2 milestone Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 16, 2019
angelozerr added a commit that referenced this issue Oct 17, 2019
angelozerr added a commit that referenced this issue Oct 17, 2019
angelozerr added a commit that referenced this issue Oct 17, 2019
angelozerr added a commit that referenced this issue Oct 17, 2019
angelozerr added a commit that referenced this issue Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants