You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2014/07/08 18:04:31 UTC

git commit: Fix CachingTest for 2.7.x

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 <dk...@apache.org>
Authored: Tue Jul 8 12:03:40 2014 -0400
Committer: Daniel Kulp <dk...@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());