Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEV-182] 테스트 시간 감축을 위한 동시성 테스트 스레드 수 감축 #82

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ void cleanTable() {
@DisplayName("20개의 티켓 생성 > 40명의 구매자가 경쟁 > 20명 구매 성공, 20명 구매 실패")
void createPurchaseWithConcurrency() throws InterruptedException {
//given
var ticketStock = 20;
var ticketStock = 10;
var seller = testHelper.createMember("[email protected]", RoleEnum.SELLER);
var ticketing = createTicketing(seller, ticketStock);

int threadNums = 40;
int threadNums = 20;
var buyers = createBuyers(threadNums);

createPurchaseConcurrencyTest.makeConcurrency(threadNums, buyers, ticketing);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ void cleanTable() {
@DisplayName("20개의 티켓 생성 > 40명의 구매자가 경쟁 > 20명 구매 성공, 20명 구매 실패")
void createPurchaseWithConcurrency() throws InterruptedException {
//given
var ticketStock = 20;
var ticketStock = 10;
var seller = testHelper.createMember("[email protected]", RoleEnum.SELLER);
var ticketing = createTicketing(seller, ticketStock);

int threadNums = 40;
int threadNums = 20;
var buyers = createBuyers(threadNums);

createPurchaseConcurrencyTest.makeConcurrency(threadNums, buyers, ticketing);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ void cleanTable() {
@DisplayName("20개의 티켓 생성 > 40명의 구매자가 경쟁 > 20명 구매 성공, 20명 구매 실패")
void createPurchaseWithConcurrency() throws InterruptedException {
//given
var ticketStock = 20;
var ticketStock = 10;
var seller = testHelper.createMember("[email protected]", RoleEnum.SELLER);
var ticketing = createTicketing(seller, ticketStock);

int threadNums = 40;
int threadNums = 20;
var buyers = createBuyers(threadNums);

createPurchaseConcurrencyTest.makeConcurrency(threadNums, buyers, ticketing);
Expand Down
Loading