File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 8585
8686 <developers >
8787 <developer >
88- <id >alexxiyang</id >
88+ <id >alexxiyang</id >
8989 <name >Alex Yang</name >
90909191 <timezone >GMT-7</timezone >
172172 </activation >
173173
174174 <properties >
175- <gpg .keyname>4DD0EC63 </gpg .keyname> <!-- GPG Key ID to use for signing -->
175+ <gpg .keyname>D688E942 </gpg .keyname> <!-- GPG Key ID to use for signing -->
176176 <release .username>alexxiyang</release .username>
177177 </properties >
178178
Original file line number Diff line number Diff line change @@ -89,16 +89,17 @@ public void testPutNull() {
8989 }
9090
9191 @ Test
92- public void testPutIdeal () {
92+ public void testPut () {
9393 doPutAuth (redisCache , user1 );
9494 FakeAuth fakeAuth = redisCache .get (user1 );
9595 assertAuthEquals (fakeAuth , turnUserToFakeAuth ((UserInfo )user1 .getPrimaryPrincipal ()));
9696 }
9797
9898 @ Test
99- public void testSize () {
99+ public void testSize () throws InterruptedException {
100100 doPutAuth (redisCache , user1 );
101101 doPutAuth (redisCache , user2 );
102+ Thread .sleep (200 );
102103 assertEquals (redisCache .size (), 2 );
103104 }
104105
Original file line number Diff line number Diff line change 11redisManager.host = 127.0.0.1:6379
2- redisSessionDAO.expire = 30
3- cacheManager.expire = 30
2+ redisSessionDAO.expire = 3000
3+ cacheManager.expire = 3000
44cacheManager.principalIdFieldName = userId
You can’t perform that action at this time.
0 commit comments