This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 01e4568796 Fix intermittently failing test
01e4568796 is described below
commit 01e4568796f87eaecb72c724de6dc2dd87d3f497
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 9e881a1cdc..1d8dbe601c 100644
--- a/java/org/apache/catalina/ha/session/DeltaSession.java
+++ b/java/org/apache/catalina/ha/session/DeltaSession.java
@@ -787,7 +787,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]