Skip to content

Commit

Permalink
chore: docker-compose aws json 배포 테스트 및 테스트 케이스 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
char-yb committed Jul 17, 2024
1 parent cd09eed commit 7cc922d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
existing_bucket_name: "walwal-server-dev-deployment"
application_name: "walwal-dev"
environment_name: "Walwal-dev-env"
version_label: "github-action-dev-${{ steps.format-time.outputs.replaced }}"
version_label: ${{ steps.build-number.outputs.BUILD_NUMBER }}
region: ap-northeast-2
deployment_package: deployment-package.zip

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
environment:
- TZ=Asia/Seoul
ports:
- "8080:8080"
- "5000:8080"
network_mode: "host"
env_file:
- .env
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,17 @@ void checkPerson() {
// when
User person =
sut.giveMeBuilder(User.class)
.set("personId", Arbitraries.strings().ofMinLength(1).ofMaxLength(16))
.set("personName", Arbitraries.strings().ofMinLength(1).ofMaxLength(16))
.set("age", Arbitraries.integers().between(1, 100))
.set("personNo", Arbitraries.strings().ofMinLength(1).ofMaxLength(16))
.set(
"addressList",
Arbitraries.strings()
.ofMaxLength(16)
.list()
.ofMinSize(1)
.ofMaxSize(2))
.sample();

// then
Expand All @@ -45,6 +54,7 @@ void testOrder() {
// when
Order actual =
sut.giveMeBuilder(Order.class)
.set("orderNo", Arbitraries.strings().ofMinLength(1).ofMaxLength(16))
.set("productName", Arbitraries.strings().ofMinLength(2).ofMaxLength(10))
.set("price", Arbitraries.longs().between(0, 1000))
.set("quantity", Arbitraries.integers().between(1, 100))
Expand Down

0 comments on commit 7cc922d

Please sign in to comment.