Skip to content

Commit

Permalink
Integration tests migrated to testSuite usage (#34)
Browse files Browse the repository at this point in the history
* Tests modified to testSuite usage

Signed-off-by: Dmitry Atapin <dmitry.atapin.83@gmail.com>

* go.mod fixed

Signed-off-by: Dmitry Atapin <dmitry.atapin.83@gmail.com>

* Tests modified to testSuite usage

Signed-off-by: Dmitry Atapin <dmitry.atapin.83@gmail.com>

* go.mod fixed

Signed-off-by: Dmitry Atapin <dmitry.atapin.83@gmail.com>

---------

Signed-off-by: Dmitry Atapin <dmitry.atapin.83@gmail.com>
  • Loading branch information
AtapinDmitry authored Sep 9, 2024
1 parent 520eda4 commit fd5c4cc
Show file tree
Hide file tree
Showing 11 changed files with 729 additions and 1,284 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ linters:
- bodyclose
- dogsled
- errorlint
- copyloopvar
- misspell
- nestif
- noctx
Expand Down
7 changes: 1 addition & 6 deletions test/integration/chaos/chaos_suit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ import (
"testing"

"github.com/anoideaopen/foundation/test/integration/cmn/runner"
"github.com/hyperledger/fabric/integration"
"github.com/hyperledger/fabric/integration/nwo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

func TestChaos(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Channel Transfer chaos suite")
RunSpecs(t, "Channel Transfer chaos test suite")
}

var (
Expand Down Expand Up @@ -41,7 +40,3 @@ var _ = SynchronizedAfterSuite(func() {
}, func() {
buildServer.Shutdown()
})

func StartPort() int {
return integration.IdemixBasePort.StartPortForNode()
}
Loading

0 comments on commit fd5c4cc

Please # to comment.