Skip to content

Commit

Permalink
refactor: thread.sleep(100) 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
70825 committed Jun 7, 2024
1 parent ae206c0 commit b79c469
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class 정렬_기준에_따른_테스트 {
}

@Test
void 꿀조합을_최신순으로_정렬할_수_있다() throws InterruptedException {
void 꿀조합을_최신순으로_정렬할_수_있다() {
// given
final var loginId = -1L;
final var member1 = 멤버_멤버1_생성();
Expand All @@ -344,9 +344,7 @@ class 정렬_기준에_따른_테스트 {
복수_상품_저장(product1, product2, product3);

final var recipe1_1 = 레시피_생성(member1, 1L);
Thread.sleep(100);
final var recipe1_2 = 레시피_생성(member1, 3L);
Thread.sleep(100);
final var recipe1_3 = 레시피_생성(member1, 2L);
복수_꿀조합_저장(recipe1_1, recipe1_2, recipe1_3);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class findAllRecipes_성공_테스트 {
}

@Test
void 꿀조합을_최신순으로_정렬한다() throws InterruptedException {
void 꿀조합을_최신순으로_정렬한다() {
// given
final var member1 = 멤버_멤버1_생성();
final var member2 = 멤버_멤버2_생성();
Expand All @@ -182,9 +182,7 @@ class findAllRecipes_성공_테스트 {
복수_상품_저장(product1, product2, product3);

final var recipe1_1 = 레시피_생성(member1, 1L);
Thread.sleep(100);
final var recipe1_2 = 레시피_생성(member1, 3L);
Thread.sleep(100);
final var recipe1_3 = 레시피_생성(member1, 2L);
복수_꿀조합_저장(recipe1_1, recipe1_2, recipe1_3);

Expand Down

0 comments on commit b79c469

Please sign in to comment.