File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ before_install:
2525 - sudo apt-get install -y build-essential gcc
2626 - sudo apt-get install -y librados-dev librbd-dev
2727 - sudo apt-get install -y lvm2 tgt open-iscsi
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
2833
2934matrix :
3035 fast_finish : true
6166 - script : make osds_e2etest_build
6267 name : " e2e_test" # names the fifth Tests stage job
6368
69+ after_failure :
70+ - for v in /var/log/opensds/*.log ; do
71+ echo $v logtail ======================== ; tail -100 $v ;
72+ done
73+
6474after_success :
6575 - bash <(curl -s https://codecov.io/bash)
6676 # 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