Skip to content

Commit 5c12d79

Browse files
committed
Fix: Test 환경 S3Mock 수정
- 기존 : withport(8001) -> 8001포트에 고정 - 변경 : 할당 withport(0) -> 사용 가능한 랜덤포트 자동할당
1 parent a047d17 commit 5c12d79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/back/domain/file/config/S3MockConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class S3MockConfig {
2121

2222
@Bean
2323
public S3Mock s3Mock() {
24-
return new S3Mock.Builder().withPort(8001).withInMemoryBackend().build();
24+
return new S3Mock.Builder().withPort(0).withInMemoryBackend().build();
2525
}
2626

2727
@Bean

0 commit comments

Comments
 (0)