fix: 修复 TSF header 兼容测试与 polaris-config endpoint 测试的 CI 失败 (#1820)
* fix: exclude gateway classpath warning auto configuration in TSF header compatible test MetadataLocalPropertiesTsfHeaderCompatibleTest was the only @SpringBootTest in spring-cloud-tencent-commons without an inline web-application-type and gateway auto configuration excludes. Because spring-webmvc and spring-cloud-gateway (webflux) coexist on the test classpath, Boot deduced a servlet context and GatewayClassPathWarningAutoConfiguration aborted startup with MvcFoundOnClasspathException. Align the properties with MetadataLocalPropertiesTest. Co-authored-by: Cursor <cursoragent@cursor.com> * chore(docs): 将 CHANGELOG 链接更新为 PR 1820 Co-authored-by: Cursor <cursoragent@cursor.com> * fix: exclude gateway auto-config in TSF header decode test Prevent servlet-based SpringBootTest from hitting MvcFoundOnClasspathException, which triggered FailedEventApplicationListener.System.exit(0) and aborted the Surefire fork. Co-authored-by: Cursor <cursoragent@cursor.com> * fix: drop Jackson 2 dependency from polaris config endpoint test The module has no Jackson on the test classpath and the project has moved to Jackson 3, so importing com.fasterxml.jackson.databind broke testCompile. Assert on the endpoint map directly instead of serializing it. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: evelynwei <evelynwei@tencent.com> Co-authored-by: Cursor <cursoragent@cursor.com>2025.1
parent
396928d34d
commit
c581e9d961
Loading…
Reference in new issue