cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject git commit: Fix CachingTest for 2.7.x
Date Tue, 08 Jul 2014 16:04:31 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 89cbc3b62 -> 51546af28


Fix CachingTest for 2.7.x


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/51546af2
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/51546af2
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/51546af2

Branch: refs/heads/2.7.x-fixes
Commit: 51546af28b71e109aae474c3b30c136b862a80f8
Parents: 89cbc3b
Author: Daniel Kulp <dkulp@apache.org>
Authored: Tue Jul 8 12:03:40 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Tue Jul 8 12:03:56 2014 -0400

----------------------------------------------------------------------
 .../test/java/org/apache/cxf/systest/ws/cache/CachingTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/51546af2/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/cache/CachingTest.java
----------------------------------------------------------------------
diff --git a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/cache/CachingTest.java
b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/cache/CachingTest.java
index 87030c3..8e638a7 100644
--- a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/cache/CachingTest.java
+++ b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/cache/CachingTest.java
@@ -111,8 +111,8 @@ public class CachingTest extends AbstractBusClientServerTestBase {
         assertEquals(2, tokenStore.getTokenIdentifiers().size());
         
         ((java.io.Closeable)port).close();
-        //port2 is still holding onto the cache, thus, this should still be 4
-        assertEquals(4, tokenStore.getTokenIdentifiers().size());       
+        //port2 is still holding onto the cache, thus, this should still be 2
+        assertEquals(2, tokenStore.getTokenIdentifiers().size());
         ((java.io.Closeable)port2).close();
         //port2 is now closed, this should be null
         assertNull(tokenStore.getTokenIdentifiers());       


Mime
View raw message