-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: 테스트 속도 개선을 위해 JUnit 병렬 실행 단위를 클래스로 설정 (#50)
* chore: Redis와 연결된 repository를 KeyValueRepository로 변경 * chore: 사용하지 않는 redisTemplate 삭제 * chore: 테스트 속도 개선을 위해 JUnit 병렬 실행 단위를 클래스로 설정
- Loading branch information
Showing
4 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
src/main/java/es/princip/getp/domain/auth/repository/EmailVerificationRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package es.princip.getp.domain.auth.repository; | ||
|
||
import org.springframework.data.repository.CrudRepository; | ||
import es.princip.getp.domain.auth.domain.entity.EmailVerification; | ||
import org.springframework.data.keyvalue.repository.KeyValueRepository; | ||
|
||
public interface EmailVerificationRepository extends CrudRepository<EmailVerification, String> { | ||
public interface EmailVerificationRepository extends KeyValueRepository<EmailVerification, String> { | ||
|
||
} |
4 changes: 2 additions & 2 deletions
4
src/main/java/es/princip/getp/domain/auth/repository/TokenVerificationRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package es.princip.getp.domain.auth.repository; | ||
|
||
import es.princip.getp.domain.auth.domain.entity.TokenVerification; | ||
import org.springframework.data.repository.CrudRepository; | ||
import org.springframework.data.keyvalue.repository.KeyValueRepository; | ||
|
||
public interface TokenVerificationRepository extends CrudRepository<TokenVerification, Long> { | ||
public interface TokenVerificationRepository extends KeyValueRepository<TokenVerification, Long> { | ||
boolean existsByRefreshToken(String refreshToken); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
junit.jupiter.execution.parallel.enabled=true | ||
junit.jupiter.execution.parallel.mode.classes.default=concurrent | ||
junit.jupiter.execution.parallel.mode.default=same_thread | ||
junit.jupiter.execution.parallel.config.strategy=dynamic | ||
junit.jupiter.execution.parallel.config.dynamic.factor=1 |