You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "vlsi (via GitHub)" <gi...@apache.org> on 2023/04/29 08:51:56 UTC
[GitHub] [jmeter] vlsi commented on pull request #5865: fix(deps): update dependency org.mongodb:mongo-java-driver to v2.14.3
vlsi commented on PR #5865:
URL: https://github.com/apache/jmeter/pull/5865#issuecomment-1528723383
There are deprecation warnings:
```
> Task :src:protocol:mongodb:compileJava FAILED
/Users/runner/work/jmeter/jmeter/src/protocol/mongodb/src/main/java/org/apache/jmeter/protocol/mongodb/config/MongoSourceElement.java:116: warning: [deprecation] autoConnectRetry(boolean) in Builder has been deprecated
.autoConnectRetry(getAutoConnectRetry())
^
/Users/runner/work/jmeter/jmeter/src/protocol/mongodb/src/main/java/org/apache/jmeter/protocol/mongodb/config/MongoSourceElement.java:119: warning: [deprecation] maxAutoConnectRetryTime(long) in Builder has been deprecated
.maxAutoConnectRetryTime(getMaxAutoConnectRetryTime())
^
/Users/runner/work/jmeter/jmeter/src/protocol/mongodb/src/main/java/org/apache/jmeter/protocol/mongodb/config/MongoSourceElement.java:129: warning: [deprecation] WriteConcern(int,int,boolean,boolean,boolean) in WriteConcern has been deprecated
builder.writeConcern(new WriteConcern(
^
error: warnings found and -Werror specified
/Users/runner/work/jmeter/jmeter/src/protocol/mongodb/src/main/java/org/apache/jmeter/protocol/mongodb/mongo/MongoDB.java:52: warning: [deprecation] isAuthenticated() in DB has been deprecated
boolean authenticated = db.isAuthenticated();
^
/Users/runner/work/jmeter/jmeter/src/protocol/mongodb/src/main/java/org/apache/jmeter/protocol/mongodb/mongo/MongoDB.java:56: warning: [deprecation] authenticate(String,char[]) in DB has been deprecated
authenticated = db.authenticate(username, password.toCharArray());
^
/Users/runner/work/jmeter/jmeter/src/protocol/mongodb/src/main/java/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptRunner.java:54: warning: [deprecation] requestStart() in DB has been deprecated
db.requestStart();
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org