File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 32
32
import org .springframework .http .codec .SseEvent ;
33
33
import org .springframework .http .server .reactive .AbstractHttpHandlerIntegrationTests ;
34
34
import org .springframework .http .server .reactive .HttpHandler ;
35
- import org .springframework .http .server .reactive .bootstrap .JettyHttpServer ;
36
35
import org .springframework .web .bind .annotation .RequestMapping ;
37
36
import org .springframework .web .bind .annotation .RestController ;
38
37
import org .springframework .web .client .reactive .WebClient ;
39
38
import org .springframework .web .reactive .DispatcherHandler ;
40
39
import org .springframework .web .reactive .config .WebReactiveConfiguration ;
41
40
import org .springframework .web .server .adapter .WebHttpHandlerBuilder ;
42
41
43
- import static org .junit .Assume .assumeFalse ;
44
42
import static org .springframework .web .client .reactive .ClientWebRequestBuilders .get ;
45
43
import static org .springframework .web .client .reactive .ResponseExtractors .bodyStream ;
46
44
@@ -53,16 +51,14 @@ public class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
53
51
54
52
private WebClient webClient ;
55
53
54
+
56
55
@ Before
57
56
public void setup () throws Exception {
58
57
super .setup ();
59
-
60
- // See https://github.com/eclipse/jetty.project/issues/730
61
- assumeFalse (server instanceof JettyHttpServer );
62
-
63
58
this .webClient = new WebClient (new ReactorClientHttpConnector ());
64
59
}
65
60
61
+
66
62
@ Override
67
63
protected HttpHandler createHttpHandler () {
68
64
this .wac = new AnnotationConfigApplicationContext ();
You can’t perform that action at this time.
0 commit comments