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

FAB-17158 ignore util test using build tag #325

Merged
merged 1 commit into from
Nov 29, 2019

Conversation

guoger
Copy link
Member

@guoger guoger commented Nov 28, 2019

ledger_generate_test is used to generate test data, and is currently
skipped by default. However, it still runs BeforeEach and AfterEach,
which brings up a Fabric network, which is heavy, and leaves garbage
data dir behind. This patch adds a build tag 'generate' to file.

Test done: run ginkgo -tags generate to see that test being executed,
and ginkgo to see it being excluded.

Signed-off-by: Jay Guo guojiannan1101@gmail.com

ledger_generate_test is used to generate test data, and is currently
skipped by default. However, it still runs BeforeEach and AfterEach,
which brings up a Fabric network, which is heavy, and leaves garbage
data dir behind. This patch adds a build tag 'generate' to file.

Test done: run `ginkgo -tags generate` to see that test being executed,
and `ginkgo` to see it being excluded.

Signed-off-by: Jay Guo <guojiannan1101@gmail.com>
@guoger
Copy link
Member Author

guoger commented Nov 29, 2019

cc @wenjianqiao

@manish-sethi manish-sethi merged commit ea93b8f into hyperledger:master Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants