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:
parent
7359750cdb
commit
a83f41381a
6 changed files with 14 additions and 92 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue