Skip to content

Commit 4592318

Browse files
committed
Split managermc into two different matrix entries, increase suite timeouts selectively
1 parent 09ea427 commit 4592318

10 files changed

+27
-14
lines changed

.github/workflows/int-test-workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ jobs:
6161
managerappframeworkm4,
6262
managersecret,
6363
managersmartstore,
64-
managermc,
64+
managermc1,
65+
managermc2,
6566
managercrcrud,
6667
licensemanager,
6768
managerdeletecr,

.github/workflows/manual-int-test-workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
managerappframeworkm4,
1919
managersecret,
2020
managersmartstore,
21-
managermc,
21+
managermc1,
22+
managermc2,
2223
managerscaling,
2324
managercrcrud,
2425
licensemanager,

.github/workflows/namespace-scope-int-workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
managerappframeworkm4,
1515
managersecret,
1616
managersmartstore,
17-
managermc,
17+
managermc1,
18+
managermc2,
1819
managerscaling,
1920
managercrcrud,
2021
licensemanager,

.github/workflows/nightly-int-test-workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ jobs:
5858
managerappframeworkm4,
5959
managersecret,
6060
managersmartstore,
61-
managermc,
61+
managermc1,
62+
managermc2,
6263
managerscaling,
6364
managercrcrud,
6465
licensemanager,

test/appframework_aws/c3/appframework_aws_suite_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ func TestBasic(t *testing.T) {
6060
}
6161
RegisterFailHandler(Fail)
6262

63-
RunSpecs(t, "Running "+testSuiteName)
63+
sc, _ := GinkgoConfiguration()
64+
sc.Timeout = 240 * time.Minute
65+
66+
RunSpecs(t, "Running "+testSuiteName, sc)
6467
}
6568

6669
//func TestMain(m *testing.M) {

test/appframework_aws/m4/appframework_aws_suite_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ func TestBasic(t *testing.T) {
5555

5656
RegisterFailHandler(Fail)
5757

58-
RunSpecs(t, "Running "+testSuiteName)
58+
sc, _ := GinkgoConfiguration()
59+
sc.Timeout = 240 * time.Minute
60+
61+
RunSpecs(t, "Running "+testSuiteName, sc)
5962
}
6063

6164
var _ = BeforeSuite(func() {

test/monitoring_console/manager_monitoring_console_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ var _ = Describe("Monitoring Console test", func() {
164164
})
165165

166166
Context("Standalone deployment (S1)", func() {
167-
It("managermc, integration: can deploy a MC with standalone instance and update MC with new standalone deployment", func() {
167+
It("managermc1, integration: can deploy a MC with standalone instance and update MC with new standalone deployment", func() {
168168
/*
169169
Test Steps
170170
1. Deploy Standalone
@@ -319,7 +319,7 @@ var _ = Describe("Monitoring Console test", func() {
319319
})
320320

321321
Context("Standalone deployment with Scale up", func() {
322-
It("managermc, integration: can deploy a MC with standalone instance and update MC when standalone is scaled up", func() {
322+
It("managermc1, integration: can deploy a MC with standalone instance and update MC when standalone is scaled up", func() {
323323
/*
324324
Test Steps
325325
1. Deploy Standalone
@@ -584,7 +584,7 @@ var _ = Describe("Monitoring Console test", func() {
584584
})
585585

586586
Context("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
587-
It("managermc, integration: MC can configure SHC, indexer instances and reconfigure to new MC", func() {
587+
It("managermc1, integration: MC can configure SHC, indexer instances and reconfigure to new MC", func() {
588588
/*
589589
Test Steps
590590
1. Deploy Single Site Indexer Cluster
@@ -809,7 +809,7 @@ var _ = Describe("Monitoring Console test", func() {
809809
})
810810

811811
Context("Multisite Clustered deployment (M4 - 3 Site clustered indexer, search head cluster)", func() {
812-
It("managermc, integration: MC can configure SHC, indexer instances and reconfigure Cluster Manager to new Monitoring Console", func() {
812+
It("managermc2, integration: MC can configure SHC, indexer instances and reconfigure Cluster Manager to new Monitoring Console", func() {
813813
/*
814814
Test Steps
815815
1. Deploy Multisite Indexer Cluster
@@ -946,7 +946,7 @@ var _ = Describe("Monitoring Console test", func() {
946946
})
947947

948948
Context("Standalone deployment (S1)", func() {
949-
It("managermc, integration: can deploy a MC with standalone instance and update MC with new standalone deployment of similar names", func() {
949+
It("managermc2, integration: can deploy a MC with standalone instance and update MC with new standalone deployment of similar names", func() {
950950
/*
951951
Test Steps
952952
1. Deploy Standalone with name "search-head-adhoc"

test/monitoring_console/monitoring_console_suite_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ func TestBasic(t *testing.T) {
4444

4545
RegisterFailHandler(Fail)
4646

47-
RunSpecs(t, "Running "+testSuiteName)
47+
sc, _ := GinkgoConfiguration()
48+
sc.Timeout = 240 * time.Minute
49+
50+
RunSpecs(t, "Running "+testSuiteName, sc)
4851
}
4952

5053
var _ = BeforeSuite(func() {

test/secret/manager_secret_m4_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var _ = Describe("Secret Test for M4 SVA", func() {
3737
// it takes more than 3000 seconds for one of the test case
3838
testcaseEnvInst, err = testenv.NewDefaultTestCaseEnv(testenvInstance.GetKubeClient(), name)
3939
Expect(err).To(Succeed(), "Unable to create testcaseenv")
40-
testenv.SpecifiedTestTimeout = 4000
40+
testenv.SpecifiedTestTimeout = 40000
4141
deployment, err = testcaseEnvInst.NewDeployment(testenv.RandomDNSName(3))
4242
Expect(err).To(Succeed(), "Unable to create deployment")
4343
})

test/secret/secret_m4_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var _ = Describe("Secret Test for M4 SVA", func() {
3838
// it takes more than 3000 seconds for one of the test case
3939
testcaseEnvInst, err = testenv.NewDefaultTestCaseEnv(testenvInstance.GetKubeClient(), name)
4040
Expect(err).To(Succeed(), "Unable to create testcaseenv")
41-
testenv.SpecifiedTestTimeout = 4000
41+
testenv.SpecifiedTestTimeout = 40000
4242
deployment, err = testcaseEnvInst.NewDeployment(testenv.RandomDNSName(3))
4343
Expect(err).To(Succeed(), "Unable to create deployment")
4444
})

0 commit comments

Comments
 (0)