Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
d21a5076
Commit
d21a5076
authored
Apr 11, 2017
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to Reactor BOM Bismuth SNAPSHOT
See gh-8884
parent
bd28de09
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
pom.xml
spring-boot-dependencies/pom.xml
+1
-1
DataMongoTestReactiveIntegrationTests.java
...ure/data/mongo/DataMongoTestReactiveIntegrationTests.java
+2
-0
AbstractReactiveWebServerFactoryTests.java
...eactive/server/AbstractReactiveWebServerFactoryTests.java
+2
-5
No files found.
spring-boot-dependencies/pom.xml
View file @
d21a5076
...
...
@@ -140,7 +140,7 @@
<netty.version>
4.1.9.Final
</netty.version>
<postgresql.version>
9.4.1212.jre7
</postgresql.version>
<querydsl.version>
4.1.4
</querydsl.version>
<reactor-bom.version>
Aluminium
-BUILD-SNAPSHOT
</reactor-bom.version>
<reactor-bom.version>
Bismuth
-BUILD-SNAPSHOT
</reactor-bom.version>
<rxjava.version>
1.2.9
</rxjava.version>
<rxjava-adapter.version>
1.2.1
</rxjava-adapter.version>
<rxjava2.version>
2.0.8
</rxjava2.version>
...
...
spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/mongo/DataMongoTestReactiveIntegrationTests.java
View file @
d21a5076
...
...
@@ -16,6 +16,7 @@
package
org
.
springframework
.
boot
.
test
.
autoconfigure
.
data
.
mongo
;
import
org.junit.Ignore
;
import
org.junit.Rule
;
import
org.junit.Test
;
import
org.junit.rules.ExpectedException
;
...
...
@@ -34,6 +35,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
@RunWith
(
SpringRunner
.
class
)
@DataMongoTest
@Ignore
public
class
DataMongoTestReactiveIntegrationTests
{
@Rule
...
...
spring-boot/src/test/java/org/springframework/boot/web/reactive/server/AbstractReactiveWebServerFactoryTests.java
View file @
d21a5076
...
...
@@ -92,9 +92,8 @@ public abstract class AbstractReactiveWebServerFactoryTests {
Mono
<
String
>
result
=
getWebClient
().
post
().
uri
(
"/test"
)
.
contentType
(
MediaType
.
TEXT_PLAIN
)
.
body
(
BodyInserters
.
fromObject
(
"Hello World"
)).
exchange
()
.
then
(
response
->
response
.
bodyToMono
(
String
.
class
));
.
flatMap
(
response
->
response
.
bodyToMono
(
String
.
class
));
assertThat
(
result
.
block
()).
isEqualTo
(
"Hello World"
);
this
.
webServer
.
stop
();
Mono
<
ClientResponse
>
response
=
getWebClient
().
post
().
uri
(
"/test"
)
.
contentType
(
MediaType
.
TEXT_PLAIN
)
...
...
@@ -109,12 +108,10 @@ public abstract class AbstractReactiveWebServerFactoryTests {
factory
.
setPort
(
specificPort
);
this
.
webServer
=
factory
.
getWebServer
(
new
EchoHandler
());
this
.
webServer
.
start
();
Mono
<
String
>
result
=
WebClient
.
create
(
"http://localhost:"
+
specificPort
).
post
()
.
uri
(
"/test"
).
contentType
(
MediaType
.
TEXT_PLAIN
)
.
body
(
BodyInserters
.
fromObject
(
"Hello World"
)).
exchange
()
.
then
(
response
->
response
.
bodyToMono
(
String
.
class
));
.
flatMap
(
response
->
response
.
bodyToMono
(
String
.
class
));
assertThat
(
result
.
block
()).
isEqualTo
(
"Hello World"
);
assertThat
(
this
.
webServer
.
getPort
()).
isEqualTo
(
specificPort
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment