You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
// do not delete testDir and log it so that we can copy the test data to unit tests for verification purpose
80
-
fmt.Printf("The test dir is %s. Use peers/org2.peer0/filesystem/ledgersData as the sample ledger for kvledger rebuild tests\n", setup.testDir)
82
+
fmt.Fprintf(GinkgoWriter, "The test dir is %s. Use peers/org2.peer0/filesystem/ledgersData as the sample ledger for kvledger rebuild tests\n", setup.testDir)
81
83
})
82
84
83
85
It("creates marbles", func() {
84
-
Skip("Uncomment to generate sample ledger in v2.0 with new lifecycle chaincode deployment")
0 commit comments