File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,8 +21,16 @@ before_install:
2121 - sudo apt-get install -y build-essential gcc
2222 - sudo apt-get install -y librados-dev librbd-dev
2323 - sudo apt-get install -y lvm2 tgt open-iscsi
24+ <<<<<<< 0feeb98168409d1666fe427663d0ab192adb5e68
2425 - sudo docker pull p1c2u/openapi-spec-validator
2526
27+ =======
28+ - go get -v github.com/onsi/gomega
29+ - go get -v github.com/onsi/ginkgo/ginkgo
30+ - go get github.com/modocache/gover
31+ - go get -v -t ./...
32+ - export PATH=$PATH:$HOME/gopath/bin
33+ >>>>>>> end
2634
2735matrix :
2836 fast_finish : true
@@ -39,6 +47,11 @@ script:
3947 - ./install/CI/coverage
4048 - ./install/CI/test
4149
50+ after_failure :
51+ - for v in /var/log/opensds/*.log ; do
52+ echo $v logtail ======================== ; tail -100 $v ;
53+ done
54+
4255after_success :
4356 - bash <(curl -s https://codecov.io/bash)
4457 # Clean OpenSDS Controller built data
Original file line number Diff line number Diff line change @@ -20,21 +20,21 @@ import (
2020 "fmt"
2121 "testing"
2222
23- . "github.com/onsi/ginkgo"
24- . "github.com/onsi/gomega"
23+ "github.com/onsi/ginkgo"
24+ "github.com/onsi/gomega"
2525)
2626
2727//Function to run the Ginkgo Test
2828func TestFileShareIntegration (t * testing.T ) {
29- RegisterFailHandler (Fail )
29+ gomega . RegisterFailHandler (ginkgo . Fail )
3030 //var UID string
31- var _ = BeforeSuite (func () {
31+ var _ = ginkgo . BeforeSuite (func () {
3232 fmt .Println ("Before Suite Execution" )
3333
3434 })
35- AfterSuite (func () {
36- By ("After Suite Execution....!" )
35+ ginkgo . AfterSuite (func () {
36+ ginkgo . By ("After Suite Execution....!" )
3737 })
3838
39- RunSpecs (t , "File Share Integration Test Suite" )
39+ ginkgo . RunSpecs (t , "File Share Integration Test Suite" )
4040}
You can’t perform that action at this time.
0 commit comments