-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Renamed some files and testnames to meet the standardized naming conventions, for a better user experience when viewing test results on CI reports page for all the tests in the daily and weekly test suite. + Added some scripts to facilitate running the weekly test suite in groups in parallel. + Use Readme doc syntax strategy to use italics font format for filenames and paths, and use bold font to highlight other key phrases. Change-Id: Icdecd4c5db74e10103daad2f2e4424cd5028a26a Signed-off-by: Scott Zwierzynski <scottz@us.ibm.com>
- Loading branch information
Showing
9 changed files
with
89 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,24 @@ | ||
#!/bin/bash | ||
|
||
echo "========== Example tests and PTE system tests..." | ||
py.test -v --junitxml results.xml test_example.py test_pte.py | ||
DAILYDIR="$GOPATH/src/github.com/hyperledger/fabric/test/regression/daily" | ||
|
||
echo "========== Chaincode tests..." | ||
chaincodeTests/runChaincodes.sh | ||
#echo "========== Sample Tests..." | ||
#py.test -v --junitxml results_sample.xml Example.py | ||
|
||
echo "========== System Test Performance Stress tests driven by PTE tool..." | ||
py.test -v --junitxml results_systest_pte.xml systest_pte.py | ||
|
||
echo "========== Test Your Chaincode ..." | ||
# TBD - after changeset https://gerrit.hyperledger.org/r/#/c/9163/ is merged, | ||
# replace the previous 2 lines with this new syntax to run all the chaincode tests; | ||
# and when making this change we should also remove file chaincodeTests/runChaincodes.sh) | ||
# | ||
#cd $DAILYDIR/chaincodeTests/envsetup | ||
#py.test -v --junitxml ../../results_testYourChaincode.xml testYourChaincode.py | ||
|
||
# TBD - after changeset https://gerrit.hyperledger.org/r/#/c/9251/ is merged, | ||
# and integrated with this, lines like these should be executed too: | ||
#echo "========== Ledger component performance tests..." | ||
#cd $DAILYDIR/ledgerperftests | ||
#py.test -v --junitxml results_perf_goleveldb.xml test_perf_goleveldb.py | ||
#py.test -v --junitxml results_perf_couchdb.xml test_perf_couchdb.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
###################################################################### | ||
### Run one group of the tests in weekly test suite. | ||
|
||
echo "========== Performance Stress PTE Scaleup tests" | ||
py.test -v --junitxml results_systest_pte_Scaleup.xml systest_pte.py -k Scaleup | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
###################################################################### | ||
### Run one group of the tests in weekly test suite. | ||
|
||
echo "========== Performance Stress PTE 12Hr test" | ||
py.test -v --junitxml results_systest_pte_12Hr.xml systest_pte.py -k TimedRun_12Hr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
###################################################################### | ||
### Run one group of the tests in weekly test suite. | ||
|
||
echo "========== Performance Stress PTE 72Hr test" | ||
py.test -v --junitxml results_systest_pte_72Hr.xml systest_pte.py -k TimedRun_72Hr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters