hyperledger-labs / fablo

Fablo is a simple tool to generate the Hyperledger Fabric blockchain network and run it on Docker. It supports RAFT and solo consensus protocols, multiple organizations and channels, chaincode installation and upgrade.
Apache License 2.0
189 stars 72 forks source link

Add integration tests for more network configurations #36

Closed dzikowski closed 3 years ago

dzikowski commented 3 years ago

Probably only simple net, 2 orgs and raft config are required

dzikowski commented 3 years ago

Currently we have the following network configurations:

fabrikkaConfig-1org-1channel-1chaincode.json
fabrikkaConfig-1org-1channel-1chaincode-tls.json
fabrikkaConfig-1org-1channel-1chaincode-tls-raft.json
fabrikkaConfig-2orgs-2channels-1chaincode.json
fabrikkaConfig-2orgs-2channels-1chaincode-tls.json
fabrikkaConfig-2orgs-2channels-1chaincode-tls-raft.json

Integration tests, however, are performed only on the network with fabrikkaConfig-1org-1channel-1chaincode.json. Besides, in the future with the support of Hyperledger Fabric 2.*, there will be much more configurations to test. Some of the configuration should be tested in integration tests and some of them require only unit tests of generated files content.

We need to: