Align abstract tests in mcp-test with mcp-core (#70)

Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
This commit is contained in:
Dariusz Jędrzejczyk 2025-01-23 14:57:25 +01:00 • committed by GitHub
commit a83f41381a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 14 additions and 92 deletions

View file

@ -30,7 +30,7 @@ import org.springframework.web.reactive.function.client.WebClient;
* @author Christian Tzolov
*/
@Timeout(15) // Giving extra time beyond the client timeout
class WebFluxSseMcpAsyncClientTests extends BlaAbstractMcpAsyncClientTests {
class WebFluxSseMcpAsyncClientTests extends AbstractMcpAsyncClientTests {
static String host = "http://localhost:3001";

View file

@ -30,7 +30,7 @@ import org.springframework.web.reactive.function.client.WebClient;
* @author Christian Tzolov
*/
@Timeout(15) // Giving extra time beyond the client timeout
class WebFluxSseMcpSyncClientTests extends BlaAbstractMcpSyncClientTests {
class WebFluxSseMcpSyncClientTests extends AbstractMcpSyncClientTests {
static String host = "http://localhost:3001";

View file

@ -33,7 +33,7 @@ import org.springframework.web.reactive.function.server.RouterFunctions;
* @author Christian Tzolov
*/
@Timeout(15) // Giving extra time beyond the client timeout
class WebFluxSseMcpAsyncServerTests extends BlaAbstractMcpAsyncServerTests {
class WebFluxSseMcpAsyncServerTests extends AbstractMcpAsyncServerTests {
private static final int PORT = 8181;

View file

@ -33,7 +33,7 @@ import org.springframework.web.reactive.function.server.RouterFunctions;
* @author Christian Tzolov
*/
@Timeout(15) // Giving extra time beyond the client timeout
class WebFluxSseMcpSyncServerTests extends BlaAbstractMcpSyncServerTests {
class WebFluxSseMcpSyncServerTests extends AbstractMcpSyncServerTests {
private static final int PORT = 8182;

View file

@ -33,7 +33,7 @@ import org.springframework.web.servlet.function.RouterFunction;
import org.springframework.web.servlet.function.ServerResponse;
@Timeout(15)
class WebMvcSseAsyncServerTransportTests extends BlaAbstractMcpAsyncServerTests {
class WebMvcSseAsyncServerTransportTests extends AbstractMcpAsyncServerTests {
private static final String MESSAGE_ENDPOINT = "/mcp/message";

View file

@ -33,7 +33,7 @@ import org.springframework.web.servlet.function.RouterFunction;
import org.springframework.web.servlet.function.ServerResponse;
@Timeout(15)
class WebMvcSseSyncServerTransportTests extends BlaAbstractMcpSyncServerTests {
class WebMvcSseSyncServerTransportTests extends AbstractMcpSyncServerTests {
private static final String MESSAGE_ENDPOINT = "/mcp/message";