From 1edfe8f59b4cf3432afeddeb683f174ca75f9d79 Mon Sep 17 00:00:00 2001 From: Divesh Angula Date: Thu, 21 Sep 2017 21:59:05 -0700 Subject: [PATCH] move pool resize test from smoke package to integration package. --- Jenkinsfile | 8 ++++---- tests/{smoke => integration}/pool_test.go | 5 ++--- 2 files changed, 6 insertions(+), 7 deletions(-) rename tests/{smoke => integration}/pool_test.go (93%) diff --git a/Jenkinsfile b/Jenkinsfile index 7062d136d..edae3d1c7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,7 +37,7 @@ pipeline { stage('Build') { when { expression { - return env.shouldBuild == "true" + return env.shouldBuild != "false" } } steps { @@ -47,7 +47,7 @@ pipeline { stage('Unit Tests') { when { expression { - return env.shouldBuild == "true" + return env.shouldBuild != "false" } } steps { @@ -58,7 +58,7 @@ pipeline { stage('Integration Tests') { when { expression { - return env.shouldBuild == "true" + return env.shouldBuild != "false" } } steps{ @@ -90,7 +90,7 @@ pipeline { stage('Publish') { when { expression { - return env.shouldBuild == "true" + return env.shouldBuild != "false" } } environment { diff --git a/tests/smoke/pool_test.go b/tests/integration/pool_test.go similarity index 93% rename from tests/smoke/pool_test.go rename to tests/integration/pool_test.go index 1823bff85..c449a6829 100644 --- a/tests/smoke/pool_test.go +++ b/tests/integration/pool_test.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package smoke +package integration import ( "fmt" @@ -24,8 +24,7 @@ import ( "github.com/stretchr/testify/require" ) -// Smoke Test for Mon failover - Test check the following operations for the Mon failover in order -//Delete mon pod, Wait for new mon pod +// Smoke Test for pool Resizing func (suite *SmokeSuite) TestPoolResize() { logger.Infof("Pool Resize Smoke Test")