Skip to content

Commit 3059076

Browse files
authored
chore: Redis MQ 이벤트 전달을 위한 딜레이 값을 1초로 변경
1 parent 0fe2db0 commit 3059076

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

backend/src/test/java/io/f1/backend/domain/stat/RedisStatBrowserTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void totalRankingNewUserWithoutJpa() throws Exception {
9090
.content(om.writeValueAsString(signupRequest)))
9191
.andExpect(status().isCreated());
9292

93-
sleep(100);
93+
sleep(1000);
9494

9595
ResultActions result = mockMvc.perform(get("/stats/rankings").param("nickname", nickname));
9696

@@ -120,7 +120,7 @@ void totalRankingChangeNicknameWithoutJpa() throws Exception {
120120
.content(om.writeValueAsString(signupRequest)))
121121
.andExpect(status().isNoContent());
122122

123-
sleep(100);
123+
sleep(1000);
124124

125125
ResultActions result = mockMvc.perform(get("/stats/rankings").param("nickname", nickname));
126126

@@ -146,7 +146,7 @@ void totalRankingDeleteUserFallbackToJpa() throws Exception {
146146
// when
147147
mockMvc.perform(delete("/user/me").session(session)).andExpect(status().isNoContent());
148148

149-
sleep(100);
149+
sleep(1000);
150150

151151
ResultActions result = mockMvc.perform(get("/stats/rankings"));
152152

0 commit comments

Comments
 (0)