Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vCore odf: increase more odf/lso/loki timeouts #175

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func VerifyLSONamespaceExists(ctx SpecContext) {

glog.V(vcoreparams.VCoreLogLevel).Infof("Short sleep to stabilize nodes to avoid pv creation failure")

time.Sleep(10 * time.Minute)
time.Sleep(15 * time.Minute)
} // func VerifyLSONamespaceExists (ctx SpecContext)

// VerifyLSODeployment asserts Local Storage Operator successfully installed.
Expand All @@ -71,6 +71,8 @@ func VerifyLSODeployment(ctx SpecContext) {
lsoPod := lsoPods[0]
lsoPodName := lsoPod.Object.Name

time.Sleep(10 * time.Minute)

err = lsoPod.WaitUntilReady(time.Second)
if err != nil {
lsoPodLog, _ := lsoPod.GetLog(600*time.Second, vcoreparams.LSOName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ func CreateLokiStackInstance(ctx SpecContext) {
Expect(lokiStackObj.IsReady(15*time.Minute)).To(Equal(true),
fmt.Sprintf("lokiStack instance %s in namespace %s failed to reach Ready state after 10 mins",
vcoreparams.LokiStackName, vcoreparams.CLONamespace))

time.Sleep(3 * time.Minute)
} // func CreateLokiStackInstance (ctx SpecContext)

// CreateCLOInstance asserts ClusterLogging instance can be created and running.
Expand Down
8 changes: 7 additions & 1 deletion tests/system-tests/vcore/internal/vcorecommon/odf.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func VerifyODFConsoleConfig(ctx SpecContext) {
odfConsolePlugin, newPluginsList))

glog.V(vcoreparams.VCoreLogLevel).Infof("Wait for the console enablement")
time.Sleep(3 * time.Minute)
time.Sleep(7 * time.Minute)
} // func VerifyODFConsoleConfig (ctx SpecContext)

// VerifyODFTaints asserts ODF nodes taints configuration.
Expand All @@ -146,6 +146,8 @@ func VerifyODFTaints(ctx SpecContext) {
Expect(err).ToNot(HaveOccurred(), fmt.Sprintf("failed to execute %s script due to %v",
applyTaintsCmd, err))
}

time.Sleep(3 * time.Minute)
} // func VerifyODFTaints (ctx SpecContext)

// VerifyODFStorageSystemConfig asserts ODF storage cluster system successfully configured.
Expand Down Expand Up @@ -233,6 +235,8 @@ func VerifyODFStorageSystemConfig(ctx SpecContext) {
Expect(storageclusterObj.Exists()).To(Equal(true),
fmt.Sprintf("Failed to createstorageCluster %s instance in namespace %s due",
vcoreparams.StorageClusterName, vcoreparams.ODFNamespace))

time.Sleep(5 * time.Minute)
} // func VerifyODFStorageSystemConfig (ctx SpecContext)

// VerifyOperatorsConfigForODFNodes asserts operators configuration for ODF nodes.
Expand Down Expand Up @@ -316,4 +320,6 @@ func VerifyOperatorsConfigForODFNodes(ctx SpecContext) {
_, err = pod.WaitForAllPodsInNamespaceRunning(APIClient, vcoreparams.ODFNamespace, 7*time.Minute)
Expect(err).ToNot(HaveOccurred(), fmt.Sprintf("not all storage pods in namespace %s succeeded to "+
"recover after deletion due to %v", vcoreparams.ODFNamespace, err))

time.Sleep(10 * time.Minute)
} // func VerifyOperatorsConfigForODFNodes (ctx SpecContext)
5 changes: 3 additions & 2 deletions tests/system-tests/vcore/internal/vcorecommon/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ func VerifyRedisDeploymentProcedure(ctx SpecContext) {
return true, nil
})

Expect(fsGroupFull).ToNot(Equal(""), fmt.Sprintf("failed to get fsGroup value for the namespase %s",
redisNamespace))
Expect(fsGroupFull).ToNot(Equal(""),
fmt.Sprintf("failed to get fsGroup value for the namespase %s; fsGroup is %s",
redisNamespace, fsGroupFull))

fsGroup := strings.Split(fsGroupFull, "/")[0]

Expand Down
Loading