mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-11-07 06:19:43 -10:00
* 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]>
20 lines
1004 B
Diff
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
|