You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2023/11/20 02:00:07 UTC
(cxf) branch 3.5.x-fixes updated (1e32433308 -> 8bd6aae66b)
This is an automated email from the ASF dual-hosted git repository.
reta pushed a change to branch 3.5.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
from 1e32433308 Recording .gitmergeinfo Changes
new 1e4326b1fb Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.1.1 (#1527)
new e850de08f2 [CXF-8959] Fixed order dependent flakiness in AttachmentUtilTest.java in core module (#1528)
new 8bd6aae66b Recording .gitmergeinfo Changes
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitmergeinfo | 2 ++
core/src/main/java/org/apache/cxf/io/CachedOutputStream.java | 3 +++
core/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java | 2 ++
core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java | 2 ++
distribution/src/main/release/samples/pom.xml | 2 +-
5 files changed, 10 insertions(+), 1 deletion(-)
(cxf) 02/03: [CXF-8959] Fixed order dependent flakiness in AttachmentUtilTest.java in core module (#1528)
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.5.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit e850de08f225484296925eff25d7ae8166ebfdd0
Author: yijut2 <52...@users.noreply.github.com>
AuthorDate: Sun Nov 19 16:00:35 2023 -0600
[CXF-8959] Fixed order dependent flakiness in AttachmentUtilTest.java in core module (#1528)
* Reset default threshold
* Add reset default threshold method
* [CXF-8959] Fixed order dependent flakiness in AttachmentUtilTest.java in core module. Make sure the CachedOutputStreamTest / CachedStreamTestBase leave the CachedOutputStream in default state
---------
Co-authored-by: Andriy Redko <dr...@gmail.com>
(cherry picked from commit fa9d1239c6a6f04a9b1261f94c2e241e68e28839)
(cherry picked from commit bd65a30e0b833475ead0903d51fc06412abe2d33)
---
core/src/main/java/org/apache/cxf/io/CachedOutputStream.java | 3 +++
core/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java | 2 ++
core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java | 2 ++
3 files changed, 7 insertions(+)
diff --git a/core/src/main/java/org/apache/cxf/io/CachedOutputStream.java b/core/src/main/java/org/apache/cxf/io/CachedOutputStream.java
index fcdc928bf7..ea8ce0d625 100644
--- a/core/src/main/java/org/apache/cxf/io/CachedOutputStream.java
+++ b/core/src/main/java/org/apache/cxf/io/CachedOutputStream.java
@@ -589,9 +589,12 @@ public class CachedOutputStream extends OutputStream {
i = SystemPropertyAction.getInteger(CachedConstants.THRESHOLD_SYS_PROP, -1);
if (i <= 0) {
i = 128 * 1024;
+ thresholdSysPropSet = false; /* we not using system property value */
} else {
thresholdSysPropSet = true;
}
+ } else {
+ thresholdSysPropSet = false; /* we not consulting system properties at all */
}
defaultThreshold = i;
}
diff --git a/core/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java b/core/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java
index b830c41b1c..5df20d65d3 100644
--- a/core/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java
+++ b/core/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java
@@ -125,6 +125,8 @@ public class CachedOutputStreamTest extends CachedStreamTestBase {
if (old != null) {
System.setProperty(CachedConstants.THRESHOLD_SYS_PROP, old);
}
+ // Always restore the default properties
+ reloadDefaultProperties();
}
}
}
diff --git a/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java b/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java
index 0fc7d8568d..2ad7b56aac 100755
--- a/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java
+++ b/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java
@@ -217,6 +217,8 @@ public abstract class CachedStreamTestBase {
if (old != null) {
System.setProperty(CachedConstants.THRESHOLD_SYS_PROP, old);
}
+ // Always restore the default properties
+ reloadDefaultProperties();
}
}
(cxf) 03/03: Recording .gitmergeinfo Changes
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.5.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 8bd6aae66b1f742d00184cdc033ebb36b1850b16
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Sun Nov 19 20:53:19 2023 -0500
Recording .gitmergeinfo Changes
---
.gitmergeinfo | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.gitmergeinfo b/.gitmergeinfo
index 6f2bfbf2f3..2f3f0d387f 100644
--- a/.gitmergeinfo
+++ b/.gitmergeinfo
@@ -90,6 +90,7 @@ B 335b7880918b3ba148d9e239421aedb5de4db814
B 33e606c55927f34f3a2414bd1386931745357f38
B 3428dd1423198b22d7662dcc8d9553a58835c130
B 3457c8555d1ecb49cf13e29a60f7ab01ec5f2ff4
+B 349ebb71310462ba6fb007941997f5fe75acf91a
B 35f84e49c8a39dbbe14e972c9ecb24c2066d07c8
B 3678d853f696a7c23de57b2c68dcf0e738c24cd2
B 3795fbc8740c882d8f276b6e9cbaf0cab107edef
@@ -402,6 +403,7 @@ M 03f5ea8eb1e1edd6502cb5df2d28b618422a572b
M 04826f6520173b51bbb95b7a208e6a6662894ba3
M 058bacfe750631f987469b0e1141db158dbd97b4
M 069f602cb56f5164d8e926f5a0dd2a11b3caf004
+M 06f5c910b61d4ad3428dc48bed95d39585bd0379
M 07bb39ca0f5e3979a0a5cca220002c8469fe8d7a
M 0887354d429d4826d12fa74e3cadde868ee8ae44
M 096e96e0da4ef08c0d81ff859224540045fe5caf
(cxf) 01/03: Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.1.1 (#1527)
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.5.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 1e4326b1fbf5aa55975f5192f8edd44553f095f8
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Thu Nov 16 22:50:46 2023 -0500
Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.1.1 (#1527)
Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/exec-maven-plugin-3.1.0...3.1.1)
---
updated-dependencies:
- dependency-name: org.codehaus.mojo:exec-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <su...@github.com>
Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
(cherry picked from commit 713783611f1e48cec1207f6ce25513c0943e9892)
(cherry picked from commit 7aa72d86af78a0c0c7c84714d51b392a8536d07e)
---
distribution/src/main/release/samples/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/distribution/src/main/release/samples/pom.xml b/distribution/src/main/release/samples/pom.xml
index 44dfaf111c..cf41780dc7 100644
--- a/distribution/src/main/release/samples/pom.xml
+++ b/distribution/src/main/release/samples/pom.xml
@@ -201,7 +201,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
- <version>3.1.0</version>
+ <version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>