Regression
org.eclipse.lemminx.extensions.contentmodel.XMLSchemaPublishDiagnosticsTest.schema With Url With Cache
Error Message
Unexpected diagnostics. Expected:[The resource 'http://invoice.xsd' is downloading in the cache path '/tmp/lemminx7626892563636972450/5c9ced01-4c4b-4507-a7b7-95997dcff1f6/cache/http/invoice.xsd'., cvc-elt.1.a: Cannot find the declaration of element 'invoice'.], Received: [The resource 'http://invoice.xsd' is downloading in the cache path '/tmp/lemminx7626892563636972450/5c9ced01-4c4b-4507-a7b7-95997dcff1f6/cache/http/invoice.xsd'., cvc-elt.1.a: Cannot find the declaration of element 'invoice'., Error while downloading 'http://invoice.xsd' to '/tmp/lemminx7626892563636972450/5c9ced01-4c4b-4507-a7b7-95997dcff1f6/cache/http/invoice.xsd' : java.net.UnknownHostException, cvc-elt.1.a: Cannot find the declaration of element 'invoice'.] ==> expected: <1> but was: <2>
Stacktrace
org.opentest4j.AssertionFailedError: Unexpected diagnostics. Expected:[The resource 'http://invoice.xsd' is downloading in the cache path '/tmp/lemminx7626892563636972450/5c9ced01-4c4b-4507-a7b7-95997dcff1f6/cache/http/invoice.xsd'., cvc-elt.1.a: Cannot find the declaration of element 'invoice'.], Received: [The resource 'http://invoice.xsd' is downloading in the cache path '/tmp/lemminx7626892563636972450/5c9ced01-4c4b-4507-a7b7-95997dcff1f6/cache/http/invoice.xsd'., cvc-elt.1.a: Cannot find the declaration of element 'invoice'., Error while downloading 'http://invoice.xsd' to '/tmp/lemminx7626892563636972450/5c9ced01-4c4b-4507-a7b7-95997dcff1f6/cache/http/invoice.xsd' : java.net.UnknownHostException, cvc-elt.1.a: Cannot find the declaration of element 'invoice'.] ==> expected: <1> but was: <2> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:156) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:598) at org.eclipse.lemminx.XMLAssert.assertPublishDiagnostics(XMLAssert.java:879) at org.eclipse.lemminx.XMLAssert.testPublishDiagnosticsFor(XMLAssert.java:874) at org.eclipse.lemminx.XMLAssert.testPublishDiagnosticsFor(XMLAssert.java:860) at org.eclipse.lemminx.extensions.contentmodel.XMLSchemaPublishDiagnosticsTest.schemaWithUrlWithCache(XMLSchemaPublishDiagnosticsTest.java:152) at java.lang.reflect.Method.invoke(Method.java:498) at java.util.ArrayList.forEach(ArrayList.java:1259) at java.util.ArrayList.forEach(ArrayList.java:1259)