This is an automated email from the ASF dual-hosted git repository.
terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 7c1678b2436 Fix MySQL MCP query timeout E2E (#39741)
7c1678b2436 is described below
commit 7c1678b24361899f5d29481199726b9b25a73ede
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Sep 6 00:17:13 2026 +0800
Fix MySQL MCP query timeout E2E (#39741)
---
.../test/e2e/mcp/functionality/MySQLReadOnlySQLE2ETest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/test/e2e/mcp/src/test/java/org/apache/shardingsphere/test/e2e/mcp/functionality/MySQLReadOnlySQLE2ETest.java
b/test/e2e/mcp/src/test/java/org/apache/shardingsphere/test/e2e/mcp/functionality/MySQLReadOnlySQLE2ETest.java
index a10a0151f00..91c9fe9c1ad 100644
---
a/test/e2e/mcp/src/test/java/org/apache/shardingsphere/test/e2e/mcp/functionality/MySQLReadOnlySQLE2ETest.java
+++
b/test/e2e/mcp/src/test/java/org/apache/shardingsphere/test/e2e/mcp/functionality/MySQLReadOnlySQLE2ETest.java
@@ -79,7 +79,7 @@ class MySQLReadOnlySQLE2ETest extends
AbstractMySQLRuntimeE2ETest {
void assertExecuteQueryTimeout() throws IOException, InterruptedException {
try (MCPInteractionClient interactionClient =
createOpenedInteractionClient()) {
Map<String, Object> actual =
interactionClient.call("database_gateway_execute_query",
- Map.of("database", LOGICAL_DATABASE_NAME, "schema",
LOGICAL_DATABASE_NAME, "sql", "SELECT SLEEP(2)", "timeout_ms", 1));
+ Map.of("database", LOGICAL_DATABASE_NAME, "schema",
LOGICAL_DATABASE_NAME, "sql", "SELECT 1 FROM orders WHERE SLEEP(2)",
"timeout_ms", 1000));
assertRecoveryResponse(actual);
}
}