File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
integration-test/integration/chat Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 6969 {:command " bash"
7070 :args [" -c" (str " cd " h/mcp-server-sample-path " && clojure -M:server" )]})}})}))
7171 (eca/notify! (fixture/initialized-notification ))
72-
73- (Thread/sleep 10000 ) ; ; wait MCP server start TODO Improve this
72+ (testing " ECA tools"
73+ (is (match? {:type " native" }
74+ (eca/client-awaits-server-notification :tool/serverUpdated ))))
75+ (testing " Mcp starting"
76+ (is (match? {:type " mcp"
77+ :name " mcpServerSample" }
78+ (eca/client-awaits-server-notification :tool/serverUpdated ))))
79+ (testing " Mcp started"
80+ (is (match? {:type " mcp"
81+ :name " mcpServerSample" }
82+ (eca/client-awaits-server-notification :tool/serverUpdated ))))
7483
7584 (testing " MCP prompts available when querying commands"
7685 (let [resp (eca/request! (fixture/chat-query-commands-request
You can’t perform that action at this time.
0 commit comments