Files
qwen-code/scripts/patches/managed-runtime-v0.26.3-tests.patch
易良andQwen-Coder 3308bd2fda fix(release): unblock Managed runtime 0.26.3 backfill (#15825)
* fix(release): repair managed runtime 0.26.3 verification

Co-authored-by: Qwen-Coder <[email protected]>

* style(release): format managed runtime regression tests

Co-authored-by: Qwen-Coder <[email protected]>

---------

Co-authored-by: Qwen-Coder <[email protected]>
2026-10-29 11:54:45 +08:00

20 lines
1004 B
Diff

--- a/packages/managed-agent-server/src/test/java/com/alibaba/qwen/code/managedagent/Issue13180HardenedVerificationTest.java
+++ b/packages/managed-agent-server/src/test/java/com/alibaba/qwen/code/managedagent/Issue13180HardenedVerificationTest.java
@@ -5,6 +5,7 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.web.server.LocalServerPort;
import org.springframework.jdbc.core.JdbcTemplate;
@@ -60,7 +61,7 @@
@LocalServerPort private int publicPort;
@Autowired private WriterCredentialPolicy credentials;
- @Autowired private JdbcTemplate jdbc;
+ @Autowired @Qualifier("managedJdbcTemplate") private JdbcTemplate jdbc;
private final HttpClient http = HttpClient.newHttpClient();
@DynamicPropertySource