@@ -59,7 +59,7 @@ void t1() {
5959 );
6060
6161 // then
62- verify (valueOperations , times (2 )).set (anyString (), any (), eq (Duration .ofMinutes (10 )));
62+ verify (valueOperations , times (2 )).set (anyString (), any (), eq (Duration .ofMinutes (6 )));
6363 }
6464
6565 @ Test
@@ -81,7 +81,7 @@ void t2() {
8181
8282 // then
8383 verify (redisTemplate , atLeastOnce ()).delete (anyString ()); // 기존 세션 삭제
84- verify (valueOperations , times (2 )).set (anyString (), any (), eq (Duration .ofMinutes (10 ))); // 새 세션 등록
84+ verify (valueOperations , times (2 )).set (anyString (), any (), eq (Duration .ofMinutes (6 ))); // 새 세션 등록
8585 }
8686
8787 @ Test
@@ -191,7 +191,7 @@ void t9() {
191191 );
192192
193193 // then
194- verify (valueOperations ).set (eq ("ws:user:123" ), any (WebSocketSessionInfo .class ), eq (Duration .ofMinutes (10 )));
194+ verify (valueOperations ).set (eq ("ws:user:123" ), any (WebSocketSessionInfo .class ), eq (Duration .ofMinutes (6 )));
195195 }
196196
197197 @ Test
@@ -229,8 +229,8 @@ void t11() {
229229
230230 // then
231231 verify (setOperations ).add ("ws:room:456:users" , TEST_USER_ID );
232- verify (redisTemplate ).expire ("ws:room:456:users" , Duration .ofMinutes (10 ));
233- verify (valueOperations ).set (eq ("ws:user:123" ), any (WebSocketSessionInfo .class ), eq (Duration .ofMinutes (10 )));
232+ verify (redisTemplate ).expire ("ws:room:456:users" , Duration .ofMinutes (6 ));
233+ verify (valueOperations ).set (eq ("ws:user:123" ), any (WebSocketSessionInfo .class ), eq (Duration .ofMinutes (6 )));
234234 }
235235
236236 @ Test
@@ -280,7 +280,7 @@ void t13() {
280280
281281 // then
282282 verify (setOperations ).remove ("ws:room:456:users" , TEST_USER_ID );
283- verify (valueOperations ).set (eq ("ws:user:123" ), any (WebSocketSessionInfo .class ), eq (Duration .ofMinutes (10 )));
283+ verify (valueOperations ).set (eq ("ws:user:123" ), any (WebSocketSessionInfo .class ), eq (Duration .ofMinutes (6 )));
284284 }
285285
286286 @ Test
0 commit comments