issues
search
have-a-meal
/
have-a-meal-server
1
stars
0
forks
source link
[EAT-128] 테스트에서의 `@Transcational`
#42
Closed
jaewoong-gwon
closed
4 months ago
jaewoong-gwon
commented
4 months ago
상위 이슈
EAT-122/Custom KMS 제작
이슈 링크
EAT-128
이슈 내용
이미지
세팅
첫번째 실행 결과
두번째 실행 결과
설명
모든 테스트에 위의 이미지와 같은 세팅을 하기 위한 최상위 테스트 클래스
위의 실행 결과 모드 테스트케이스는 통과, 기능이 정상 작동하는 상태
첫번째 실행 후, 데이터는 롤백되어 저장되지 않았지만 A.I 값은 1 인 상태
두번째 실행 후, 역시 데이터는 롤백, A.I 값은 이전 실행에서 롤백되지 않아 2로 증가함
@Transcational
해당 어노테이션이 예상대로 동작하지 않음을 발견, 해결 방법이 필요할 것으로 확인됨
상위 이슈
이슈 링크
이슈 내용
@Transcational
해당 어노테이션이 예상대로 동작하지 않음을 발견, 해결 방법이 필요할 것으로 확인됨