You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2020/07/01 00:33:37 UTC
[lucene-solr] branch jira/solr14610 updated: suppress forbidden
This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch jira/solr14610
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/jira/solr14610 by this push:
new 20cca5e suppress forbidden
20cca5e is described below
commit 20cca5e7ee6291ed6f75afbfa04009a142f06a09
Author: noblepaul <no...@gmail.com>
AuthorDate: Wed Jul 1 10:32:46 2020 +1000
suppress forbidden
---
solr/solrj/src/test/org/apache/solr/common/util/TestSolrJsonWriter.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/solr/solrj/src/test/org/apache/solr/common/util/TestSolrJsonWriter.java b/solr/solrj/src/test/org/apache/solr/common/util/TestSolrJsonWriter.java
index b51c024..b3d2a53 100644
--- a/solr/solrj/src/test/org/apache/solr/common/util/TestSolrJsonWriter.java
+++ b/solr/solrj/src/test/org/apache/solr/common/util/TestSolrJsonWriter.java
@@ -78,6 +78,7 @@ public class TestSolrJsonWriter extends SolrTestCaseJ4 {
}
+ @SuppressForbidden(reason="used for perf testing numbers only")
private long write2String(Object o, int iters) throws IOException {
long start = System.currentTimeMillis() ;
for
@@ -91,6 +92,7 @@ public class TestSolrJsonWriter extends SolrTestCaseJ4 {
return System.currentTimeMillis()-start;
}
+ @SuppressForbidden(reason="used for perf testing numbers only")
private long write2Javabin(Object o, int iters) throws IOException {
long start = System.currentTimeMillis() ;
for (int i = 0;i<iters;i++) {