Refactor use of sinks in WebSocketGraphQlTransport

Replace use of Sinks which does not deal with concurrent sending and
use MonoSink and FluxSink instead.

Closes gh-388
This commit is contained in:
rstoyanchev
2022-05-13 13:59:39 +01:00
parent 57e9ccbfd8
commit c43a444c78
3 changed files with 161 additions and 123 deletions

View File

@@ -22,10 +22,9 @@ import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.boot.test.web.server.LocalServerPort;
import org.springframework.graphql.execution.ErrorType;
import org.springframework.graphql.test.tester.WebGraphQlTester;
import org.springframework.graphql.test.tester.WebSocketGraphQlTester;