Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
disable out of sync tests for opentonic
Browse files Browse the repository at this point in the history
  • Loading branch information
enxebre committed Jun 8, 2018
1 parent ff00e12 commit ebe6961
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
3 changes: 2 additions & 1 deletion tests/rspec/lib/operators.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ module Operators
'kube-core-operator',
'kube-addon-operator',
'tectonic-channel-operator',
'tectonic-prometheus-operator',
# TODO: temporary disabling this for OpenTonic
# 'tectonic-prometheus-operator',
'tectonic-utility-operator'
].freeze

Expand Down
16 changes: 10 additions & 6 deletions tests/smoke/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ var (
"bootstrap",
"kco-config.yaml",
"tnco-config.yaml",
// TODO: temporary disabling this for OpenTonic
"tectonic/security/priviledged-scc-tectonic.yaml",
}

// equivalentKindRemapping is used by resourceIdentifier to map different
Expand All @@ -66,12 +68,14 @@ func testCluster(t *testing.T) {
t.Run("AllNodesRunning", testAllNodesRunning)
t.Run("AllResourcesCreated", testAllResourcesCreated)
t.Run("AllPodsRunning", testAllPodsRunning)
t.Run("GetIdentityLogs", testGetIdentityLogs)

ne := os.Getenv(networkingEnv)
if ne == "canal" || ne == "calico-ipip" {
t.Run("NetworkPolicy", testNetworkPolicy)
}
// TODO: temporary disabling this for OpenTonic
// t.Run("GetIdentityLogs", testGetIdentityLogs)

// TODO: temporary disabling this for OpenTonic
//ne := os.Getenv(networkingEnv)
//if ne == "canal" || ne == "calico-ipip" {
// t.Run("NetworkPolicy", testNetworkPolicy)
//}

t.Run("KillAPIServer", testKillAPIServer)
}
Expand Down

0 comments on commit ebe6961

Please sign in to comment.