Skip to content

Commit

Permalink
Added idxc
Browse files Browse the repository at this point in the history
  • Loading branch information
tgarg-splunk committed Aug 1, 2023
1 parent 692067e commit d5c2be0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/appframework_aws/c3/manager_appframework_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,9 @@ var _ = Describe("c3appfw test", func() {
lm, err := deployment.DeployLicenseManager(ctx, deployment.GetName())
cm, err := deployment.DeployClusterManager(ctx, deployment.GetName(), lm.GetName(), "", "")
shcName := fmt.Sprintf("%s-shc", deployment.GetName())
// idxName := fmt.Sprintf("%s-idxc", deployment.GetName())
idxName := fmt.Sprintf("%s-idxc", deployment.GetName())
shc, err := deployment.DeploySearchHeadCluster(ctx, shcName, deployment.GetName(), lm.GetName(), "", mcName)
// idxc, err := deployment.DeployIndexerCluster(ctx, idxName, lm.GetName(), 3, cm.GetName(), "")
idxc, err := deployment.DeployIndexerCluster(ctx, idxName, lm.GetName(), 3, cm.GetName(), "")
Expect(err).To(Succeed(), "Unable to deploy Single Site Indexer Cluster with Search Head Cluster")

// Wait for License Manager to be in READY phase
Expand All @@ -410,7 +410,7 @@ var _ = Describe("c3appfw test", func() {
testenv.SearchHeadClusterReady(ctx, deployment, testcaseEnvInst)

// Ensure Indexers go to Ready phase
// testenv.SingleSiteIndexersReady(ctx, deployment, testcaseEnvInst)
testenv.SingleSiteIndexersReady(ctx, deployment, testcaseEnvInst)

// // Verify RF SF is met
// testenv.VerifyRFSFMet(ctx, deployment, testcaseEnvInst)
Expand Down Expand Up @@ -484,10 +484,10 @@ var _ = Describe("c3appfw test", func() {

// // Update IDXC image

// testcaseEnvInst.Log.Info("Upgrading the Indexer Cluster Image", "Current Image", oldImage, "New Image", newImage)
// idxc.Spec.Image = newImage
// err = deployment.UpdateCR(ctx, idxc)
// Expect(err).To(Succeed(), "Failed upgrade Indexer Cluster image")
testcaseEnvInst.Log.Info("Upgrading the Indexer Cluster Image", "Current Image", oldImage, "New Image", newImage)
idxc.Spec.Image = newImage
err = deployment.UpdateCR(ctx, idxc)
Expect(err).To(Succeed(), "Failed upgrade Indexer Cluster image")

// Ensure Cluster Manager goes to Ready phase
testenv.ClusterManagerReady(ctx, deployment, testcaseEnvInst)
Expand All @@ -502,7 +502,7 @@ var _ = Describe("c3appfw test", func() {
testenv.SearchHeadClusterReady(ctx, deployment, testcaseEnvInst)

// // Ensure Indexers go to Ready phase
// testenv.SingleSiteIndexersReady(ctx, deployment, testcaseEnvInst)
testenv.SingleSiteIndexersReady(ctx, deployment, testcaseEnvInst)

//############### UPGRADE APPS ################
// Delete apps on S3
Expand Down

0 comments on commit d5c2be0

Please sign in to comment.