Skip to content

Commit

Permalink
[K10-2454] Skip IBM tests (#5843)
Browse files Browse the repository at this point in the history
* Skip IBM tests

* Add skip in TearDownSuite
  • Loading branch information
DeepikaDixit authored and Ilya Kislenko committed Jun 18, 2019
1 parent f5f1b8d commit f42f3df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/blockstorage/ibm/client_kube_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ type KubeTestIBMClient struct {
var _ = Suite(&KubeTestIBMClient{})

func (s *KubeTestIBMClient) SetUpSuite(c *C) {
// TODO: IBM client changed internally, unskip after K10-2454
c.Skip("Skipped until we fix K10-2454")
var secData []byte
var err error
if tomlPath, ok := os.LookupEnv(workAroundEnv); ok {
Expand All @@ -53,6 +55,8 @@ func (s *KubeTestIBMClient) SetUpSuite(c *C) {
}

func (s KubeTestIBMClient) TearDownSuite(c *C) {
// TODO: IBM client changed internally, unskip after K10-2454
c.Skip("Skipped until we fix K10-2454")
if _, ok := os.LookupEnv(workAroundEnv); !ok {
c.Skip(workAroundEnv + "TOML path is not present")
}
Expand Down
2 changes: 2 additions & 0 deletions pkg/blockstorage/ibm/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ type ClientSuite struct{}
var _ = Suite(&ClientSuite{})

func (s *ClientSuite) SetUpSuite(c *C) {
// TODO: IBM client changed internally, unskip after K10-2454
c.Skip("Skipped until we fix K10-2454")
if os.Getenv(IBMApiKeyEnv) == "" {
c.Skip(IBMApiKeyEnv + " envionment variable not set")
}
Expand Down

0 comments on commit f42f3df

Please sign in to comment.