Skip to content

Commit

Permalink
Fix stress test flag in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng committed Jan 9, 2023
1 parent 7c88863 commit a3dd971
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
iwf-server
iwf-server
test.log
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,16 @@ integTestsNoSearch:
$Q go test -v ./integ -search=false

stressTestsWithSearch:
$Q go test -v ./integ -repeat=10 intervalMs=100 -searchWaitMs=100
$Q go test -v ./integ -repeat=10 -intervalMs=100 -searchWaitMs=100 | tee test.log # TODO https://github.com/indeedeng/iwf/issues/134

stressTestsNoSearch:
$Q go test -v ./integ -repeat=10 intervalMs=100 -search=false
$Q go test -v ./integ -repeat=10 -search=false | tee test.log

stressTestsCadenceNoSearch:
$Q go test -v ./integ -repeat=10 -temporal=false intervalMs=100 -search=false
$Q go test -v ./integ -repeat=10 -temporal=false -search=false | tee test.log

stressTestsTemporalNoSearch:
$Q go test -v ./integ -repeat=10 -cadence=false intervalMs=100 -search=false
$Q go test -v ./integ -repeat=10 -cadence=false -search=false | tee test.log

help:
@# print help first, so it's visible
Expand Down

0 comments on commit a3dd971

Please sign in to comment.