This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 5fe36a2a6c Fix intermittently failing test
5fe36a2a6c is described below
commit 5fe36a2a6c9d619da68d84b3ef9464fcd109e27c
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Oct 2 17:36:05 2026 +0100
Fix intermittently failing test
---
java/org/apache/catalina/ha/session/DeltaSession.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/ha/session/DeltaSession.java
b/java/org/apache/catalina/ha/session/DeltaSession.java
index 97f3aa6aad..f6aa783d46 100644
--- a/java/org/apache/catalina/ha/session/DeltaSession.java
+++ b/java/org/apache/catalina/ha/session/DeltaSession.java
@@ -799,7 +799,7 @@ public class DeltaSession extends StandardSession
implements Externalizable, Clu
* Record the current value, not the value passed in, so
concurrent updates of the same attribute
* cannot leave the replica with an older value than the
primary.
*/
- Object current = getAttribute(name);
+ Object current = attributes.get(name);
if (current != null && !exclude(name, current)) {
deltaRequest.setAttribute(name, current);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]