Skip to content

Commit

Permalink
commenting all the test cases except one
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek Reddy committed Oct 25, 2024
1 parent e22ff1e commit 2130052
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 97 deletions.
8 changes: 4 additions & 4 deletions pkg/splunk/client/gcpbucketclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package client

import (
"context"
"strings"
"io"
"os"
"strings"

"cloud.google.com/go/storage"
//"golang.org/x/oauth2/google"
Expand Down Expand Up @@ -181,7 +181,7 @@ func (gcsClient *GCSClient) GetAppsList(ctx context.Context) (RemoteDataListResp
maxKeys := 4000 // Limit the number of objects manually

if strings.HasSuffix(gcsClient.StartAfter, "/") {
startAfterFound = true
startAfterFound = true
}

for count := 0; count < maxKeys; {
Expand All @@ -198,8 +198,8 @@ func (gcsClient *GCSClient) GetAppsList(ctx context.Context) (RemoteDataListResp
if !startAfterFound {
if objAttrs.Name == gcsClient.StartAfter {
startAfterFound = true // Start adding objects after this point
}
continue
}
continue
}

// Map GCS object attributes to RemoteObject
Expand Down
42 changes: 21 additions & 21 deletions test/appframework_gcp/c3/appframework_gcs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var _ = Describe("c3appfw test", func() {
}
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
It("smoke, c3gcp, masterappframeworkc3gcp, appframeworkgcp, gcp_sanity: can deploy a C3 SVA with App Framework enabled, install apps then upgrade them", func() {

/* Test Steps
Expand Down Expand Up @@ -307,7 +307,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) with App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) with App Framework", func() {
It("smoke, c3gcp, masterappframeworkc3gcp, appframeworkgcp, gcp_sanity: can deploy a C3 SVA with App Framework enabled, install apps then downgrade them", func() {

/* Test Steps
Expand Down Expand Up @@ -514,7 +514,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) with App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) with App Framework", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3 SVA with App Framework enabled, install apps, scale up clusters, install apps on new pods, scale down", func() {

/* Test Steps
Expand Down Expand Up @@ -792,7 +792,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
XContext("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
It("smoke, c3gcp, masterappframeworkc3gcp, appframeworkgcp, gcp_sanity: can deploy a C3 SVA and have apps installed locally on Cluster Manager and Deployer", func() {

/* Test Steps
Expand Down Expand Up @@ -931,7 +931,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
XContext("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
It("c3, integration, masterappframeworkc3, appframework: can deploy a C3 SVA with apps installed locally on Cluster Manager and Deployer, cluster-wide on Peers and Search Heads, then upgrade them", func() {

/* Test Steps
Expand Down Expand Up @@ -1142,7 +1142,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
XContext("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
It("c3, integration, masterappframeworkc3, appframework: can deploy a C3 SVA with apps installed locally on Cluster Manager and Deployer, cluster-wide on Peers and Search Heads, then downgrade them", func() {

/* Test Steps
Expand Down Expand Up @@ -1350,7 +1350,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
XContext("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3 SVA instance with App Framework enabled and install above 200MB of apps at once", func() {

/* Test Steps
Expand Down Expand Up @@ -1442,7 +1442,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) with App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) with App Framework", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3 SVA with App Framework enabled for manual update", func() {
/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -1686,7 +1686,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
XContext("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3 SVA and have apps installed and updated locally on Cluster Manager and Deployer for manual polling", func() {

/* Test Steps
Expand Down Expand Up @@ -1869,7 +1869,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
XContext("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
It("c3, integration, masterappframeworkc3, appframework: can deploy a C3 SVA with apps installed locally on Cluster Manager and Deployer, cluster-wide on Peers and Search Heads, then upgrade them via a manual poll", func() {

/* Test Steps
Expand Down Expand Up @@ -2093,7 +2093,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3, add new apps to app source while install is in progress and have all apps installed locally on Cluster Manager and Deployer", func() {

/* Test Steps
Expand Down Expand Up @@ -2221,7 +2221,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3, add new apps to app source while install is in progress and have all apps installed cluster-wide", func() {

/* Test Steps
Expand Down Expand Up @@ -2356,7 +2356,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3 SVA with App Framework enabled and reset operator pod while app install is in progress", func() {

/* Test Steps
Expand Down Expand Up @@ -2450,7 +2450,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3 SVA with App Framework enabled and reset operator pod while app download is in progress", func() {

/* Test Steps
Expand Down Expand Up @@ -2544,7 +2544,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3 SVA with App Framework enabled, install an app, then disable it by using a disabled version of the app and then remove it from app source", func() {

/* Test Steps
Expand Down Expand Up @@ -2653,7 +2653,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3 SVA with App Framework enabled and update apps after app download is completed", func() {

/* Test Steps
Expand Down Expand Up @@ -2773,7 +2773,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
XContext("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
It("c3, integration, masterappframeworkc3, appframework: can deploy a C3 SVA and install a bigger volume of apps than the operator PV disk space", func() {

/* Test Steps
Expand Down Expand Up @@ -2868,7 +2868,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3 SVA with App Framework enabled and delete apps from app directory when download is complete", func() {

/* Test Steps
Expand Down Expand Up @@ -2965,7 +2965,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
XContext("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
It("smoke, c3gcp, masterappframeworkc3gcp, appframeworkgcp, gcp_sanity: can deploy a C3 SVA with App Framework enabled and check isDeploymentInProgressFlag for CM and SHC CR's", func() {

/*
Expand Down Expand Up @@ -3031,7 +3031,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
XContext("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
It("integration, c3: can deploy a C3 SVA and a Standalone, then add that Standalone as a Search Head to the cluster", func() {

/* Test Steps
Expand Down Expand Up @@ -3091,7 +3091,7 @@ var _ = Describe("c3appfw test", func() {
})
})

Context("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
XContext("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
It("integration, c3, masterappframeworkc3, appframework: can deploy a C3 SVA and have ES app installed on Search Head Cluster", func() {

/* Test Steps
Expand Down
Loading

0 comments on commit 2130052

Please sign in to comment.