Skip to content

Commit 503d72d

Browse files
author
Shruthi-1MN
committed
end
1 parent 0feeb98 commit 503d72d

4 files changed

Lines changed: 775 additions & 164 deletions

File tree

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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

2735
matrix:
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+
4255
after_success:
4356
- bash <(curl -s https://codecov.io/bash)
4457
# Clean OpenSDS Controller built data

test/integration/fileshare_suit_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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
2828
func 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
}

0 commit comments

Comments
 (0)