From 2d1f4a01e85852cac1edea06434f73904523ef09 Mon Sep 17 00:00:00 2001 From: rlieberman-splunk Date: Thu, 12 Dec 2024 14:48:43 -0600 Subject: [PATCH] add sleep for managermc1 failing test case --- .github/workflows/build-test-push-workflow.yml | 8 ++++---- .github/workflows/int-test-workflow.yml | 4 ++-- .../monitoring_console/manager_monitoring_console_test.go | 8 ++++++-- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-test-push-workflow.yml b/.github/workflows/build-test-push-workflow.yml index 13378e5b3..4ca3b8661 100644 --- a/.github/workflows/build-test-push-workflow.yml +++ b/.github/workflows/build-test-push-workflow.yml @@ -166,10 +166,10 @@ jobs: test: [ basic, appframeworksS1, - # managerappframeworkc3, - # managerappframeworkm4, - # managersecret, - # managermc, + managerappframeworkc3, + managerappframeworkm4, + managersecret, + managermc, ] runs-on: ubuntu-latest env: diff --git a/.github/workflows/int-test-workflow.yml b/.github/workflows/int-test-workflow.yml index 6f0a60678..6f06cba64 100644 --- a/.github/workflows/int-test-workflow.yml +++ b/.github/workflows/int-test-workflow.yml @@ -56,12 +56,12 @@ jobs: matrix: test: [ - appframeworksS1, + # appframeworksS1, # managerappframeworkc3, # managerappframeworkm4, # managersecret, # managersmartstore, - # managermc1, + managermc1, # managermc2, # managercrcrud, # licensemanager, diff --git a/test/monitoring_console/manager_monitoring_console_test.go b/test/monitoring_console/manager_monitoring_console_test.go index 2796f77a3..06b4dbfdb 100644 --- a/test/monitoring_console/manager_monitoring_console_test.go +++ b/test/monitoring_console/manager_monitoring_console_test.go @@ -760,7 +760,11 @@ var _ = Describe("Monitoring Console test", func() { // Verify MC is Ready and stays in ready state // testenv.VerifyMonitoringConsoleReady(ctx, deployment, mcTwoName, mcTwo, testcaseEnvInst) - // ############################ VERIFICATOIN FOR MONITORING CONSOLE TWO POST SHC RECONFIG ############################### + // ############################ VERIFICATION FOR MONITORING CONSOLE TWO POST SHC RECONFIG ############################### + + // Adding a sleep so that SHC can come up correctly + testcaseEnvInst.Log.Info("Sleeping to allow SHC and MC to become ready") + time.Sleep(900 * time.Second) // Check Cluster Manager in Monitoring Console Two Config Map testcaseEnvInst.Log.Info("Verify Cluster Manager on Monitoring Console Two Config Map after SHC Reconfig") @@ -781,7 +785,7 @@ var _ = Describe("Monitoring Console test", func() { testcaseEnvInst.Log.Info("Checking for Indexer Pod on MC TWO after SHC Reconfig") testenv.VerifyPodsInMCConfigString(ctx, deployment, testcaseEnvInst, indexerPods, mcTwoName, true, true) - // ############################ VERIFICATOIN FOR MONITORING CONSOLE ONE POST SHC RECONFIG ############################### + // ############################ VERIFICATION FOR MONITORING CONSOLE ONE POST SHC RECONFIG ############################### // Verify MC ONE is Ready and stays in ready state before running verfications testenv.VerifyMonitoringConsoleReady(ctx, deployment, mcName, mc, testcaseEnvInst)