File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,12 +206,15 @@ if(FASTMCPP_BUILD_TESTS)
206206 add_executable (fastmcpp_sse_server tests/server/sse.cpp )
207207 target_link_libraries (fastmcpp_sse_server PRIVATE fastmcpp_core )
208208 add_test (NAME fastmcpp_sse_server COMMAND fastmcpp_sse_server )
209+ # Avoid port conflicts with parallel tests; SSE tests can be flaky on CI
210+ set_tests_properties (fastmcpp_sse_server PROPERTIES RUN_SERIAL TRUE )
209211
210212 # MCP SSE format compliance test (regression test for GitHub Issue #1)
211213 add_executable (fastmcpp_sse_mcp_format tests/server/sse_mcp_format.cpp )
212214 target_link_libraries (fastmcpp_sse_mcp_format PRIVATE fastmcpp_core )
213215 add_test (NAME fastmcpp_sse_mcp_format COMMAND fastmcpp_sse_mcp_format )
214216
217+ set_tests_properties (fastmcpp_sse_mcp_format PROPERTIES RUN_SERIAL TRUE )
215218 # Advanced test suites (Task 3.4)
216219 add_executable (fastmcpp_tools_validation tests/tools/validation.cpp )
217220 target_link_libraries (fastmcpp_tools_validation PRIVATE fastmcpp_core )
You can’t perform that action at this time.
0 commit comments