/* Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package etcdraft_test import ( "testing" "github.com/hyperledger/fabric/common/channelconfig" "github.com/hyperledger/fabric/msp" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) func TestEtcdraft(t *testing.T) { RegisterFailHandler(Fail) suiteConfig, reporterConfig := GinkgoConfiguration() suiteConfig.EmitSpecProgress = true reporterConfig.FullTrace = true reporterConfig.Verbose = true RunSpecs(t, "Etcdraft Suite", suiteConfig, reporterConfig) } //go:generate counterfeiter -o mocks/orderer_org.go --fake-name OrdererOrg . channelConfigOrdererOrg type channelConfigOrdererOrg interface { channelconfig.OrdererOrg } //go:generate counterfeiter -o mocks/msp.go --fake-name MSP . mspInterface type mspInterface interface { msp.MSP }