Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update ci coverage step to use workspace
- Loading branch information
Showing
3 changed files
with
41 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,21 @@ | ||
# factomd/peerTest | ||
|
||
This folder contains tests that must be run in parallel. | ||
This folder contains tests that must be run in parallel (2 tests at a time). | ||
|
||
These tests are useful for testing features between builds | ||
by running 1 of each pair from previous/current builds. | ||
|
||
Tests in this folder will *not run* on circle.ci | ||
|
||
|
||
## BrainSwap | ||
|
||
Run these two tests simultaneously to observe | ||
an identy swap between go processes. | ||
|
||
These two tests are configured to be peers. | ||
|
||
``` | ||
nohup go test -v BrainSwapFollower_test.go & | ||
go test -v BrainSwapNetwork_test.go | ||
``` |
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,4 +1,17 @@ | ||
# factomd/simTest | ||
|
||
This folder contains simulation tests that can run alone in isolation. | ||
|
||
Tests in this folder will also run on circle.ci | ||
|
||
NOTE: each `_test.go` file in this folder should be able to be run by itself | ||
|
||
EX: | ||
``` | ||
go test -v ./simTest/BrainSwap_test.go | ||
``` | ||
|
||
This is in contrast to testing by module (as we do with other types of unit tests) | ||
``` | ||
go test -v ./engine/... | ||
`` |