From 2f289eb2f2867e9e2ba258d30e6d272b917f07ec Mon Sep 17 00:00:00 2001 From: duwenxin Date: Tue, 10 Feb 2026 00:43:26 -0500 Subject: [PATCH] cassandra --- tests/cassandra/cassandra_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cassandra/cassandra_integration_test.go b/tests/cassandra/cassandra_integration_test.go index e1faac4554..2f833999cc 100644 --- a/tests/cassandra/cassandra_integration_test.go +++ b/tests/cassandra/cassandra_integration_test.go @@ -271,7 +271,7 @@ func getCassandraWants() (string, string, string, string, string, string) { selectIdNameWant := "[{\"id\":3,\"name\":\"Alice\"}]" selectIdNullWant := "[{\"id\":4,\"name\":\"\"}]" selectArrayParamWant := "[{\"id\":1,\"name\":\"Sid\"},{\"id\":3,\"name\":\"Alice\"}]" - mcpMyFailToolWant := "{\"jsonrpc\":\"2.0\",\"id\":\"invoke-fail-tool\",\"result\":{\"content\":[{\"type\":\"text\",\"text\":\"unable to parse rows: line 1:0 no viable alternative at input 'SELEC' ([SELEC]...)\"}],\"isError\":true}}" + mcpMyFailToolWant := "{\"jsonrpc\":\"2.0\",\"id\":\"invoke-fail-tool\",\"result\":{\"content\":[{\"type\":\"text\",\"text\":\"error processing request: unable to parse rows: line 1:0 no viable alternative at input 'SELEC' ([SELEC]...)\"}],\"isError\":true}}" mcpMyToolIdWant := "{\"jsonrpc\":\"2.0\",\"id\":\"my-tool\",\"result\":{\"content\":[{\"type\":\"text\",\"text\":\"[{\\\"id\\\":3,\\\"name\\\":\\\"Alice\\\"}]\"}]}}" return selectIdNameWant, selectIdNullWant, selectArrayParamWant, mcpMyFailToolWant, "nil", mcpMyToolIdWant }