mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Upgrade to MongoDB 5.0
See gh-39989
This commit is contained in:
parent
3699bcfb87
commit
35bc0f9f21
@ -129,10 +129,8 @@ public class MongoReactiveAutoConfiguration {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
private boolean isCustomTransportConfiguration(MongoClientSettings settings) {
|
||||
return settings != null
|
||||
&& (settings.getTransportSettings() != null || settings.getStreamFactoryFactory() != null);
|
||||
return settings != null && settings.getTransportSettings() != null;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -230,7 +230,6 @@ class MongoReactiveAutoConfigurationTests {
|
||||
assertThat(settings.getApplicationName()).isEqualTo("custom-transport-settings");
|
||||
assertThat(settings.getTransportSettings())
|
||||
.isSameAs(SimpleTransportSettingsCustomizerConfig.transportSettings);
|
||||
assertThat(settings.getStreamFactoryFactory()).isNull();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -1286,7 +1286,7 @@ bom {
|
||||
releaseNotes("https://github.com/mockito/mockito/releases/tag/v{version}")
|
||||
}
|
||||
}
|
||||
library("MongoDB", "4.11.1") {
|
||||
library("MongoDB", "5.0.0") {
|
||||
group("org.mongodb") {
|
||||
modules = [
|
||||
"bson",
|
||||
|
Loading…
Reference in New Issue
Block a user