Skip to content

Commit

Permalink
end
Browse files Browse the repository at this point in the history
  • Loading branch information
Shruthi-1MN committed Dec 11, 2019
1 parent 0feeb98 commit 503d72d
Show file tree
Hide file tree
Showing 4 changed files with 775 additions and 164 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,16 @@ before_install:
- sudo apt-get install -y build-essential gcc
- sudo apt-get install -y librados-dev librbd-dev
- sudo apt-get install -y lvm2 tgt open-iscsi
<<<<<<< 0feeb98168409d1666fe427663d0ab192adb5e68
- sudo docker pull p1c2u/openapi-spec-validator

=======
- go get -v github.com/onsi/gomega
- go get -v github.com/onsi/ginkgo/ginkgo
- go get github.com/modocache/gover
- go get -v -t ./...
- export PATH=$PATH:$HOME/gopath/bin
>>>>>>> end

matrix:
fast_finish: true
Expand All @@ -39,6 +47,11 @@ script:
- ./install/CI/coverage
- ./install/CI/test

after_failure:
- for v in /var/log/opensds/*.log ; do
echo $v logtail ======================== ; tail -100 $v ;
done

after_success:
- bash <(curl -s https://codecov.io/bash)
# Clean OpenSDS Controller built data
Expand Down
14 changes: 7 additions & 7 deletions test/integration/fileshare_suit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ import (
"fmt"
"testing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"
)

//Function to run the Ginkgo Test
func TestFileShareIntegration(t *testing.T) {
RegisterFailHandler(Fail)
gomega.RegisterFailHandler(ginkgo.Fail)
//var UID string
var _ = BeforeSuite(func() {
var _ = ginkgo.BeforeSuite(func() {
fmt.Println("Before Suite Execution")

})
AfterSuite(func() {
By("After Suite Execution....!")
ginkgo.AfterSuite(func() {
ginkgo.By("After Suite Execution....!")
})

RunSpecs(t, "File Share Integration Test Suite")
ginkgo.RunSpecs(t, "File Share Integration Test Suite")
}
Loading

0 comments on commit 503d72d

Please sign in to comment.