@@ -340,6 +340,9 @@ var _ = Describe("Reconfiguration Performance Testing", Ordered, Label("reconfig
340
340
getStartTime := func () time.Time { return startTime }
341
341
modifyStartTime := func () { startTime = startTime .Add (500 * time .Millisecond ) }
342
342
343
+ output , err := framework .InstallGatewayAPI (getDefaultSetupCfg ().gwAPIVersion )
344
+ Expect (err ).ToNot (HaveOccurred (), string (output ))
345
+
343
346
if startWithNGFSetup {
344
347
setup (getDefaultSetupCfg ())
345
348
@@ -366,9 +369,6 @@ var _ = Describe("Reconfiguration Performance Testing", Ordered, Label("reconfig
366
369
),
367
370
).WithTimeout (metricExistTimeout ).WithPolling (metricExistPolling ).Should (Succeed ())
368
371
}
369
- } else {
370
- output , err := framework .InstallGatewayAPI (getDefaultSetupCfg ().gwAPIVersion )
371
- Expect (err ).ToNot (HaveOccurred (), string (output ))
372
372
}
373
373
374
374
Expect (test (resourceCount )).To (Succeed ())
@@ -493,9 +493,10 @@ var _ = Describe("Reconfiguration Performance Testing", Ordered, Label("reconfig
493
493
err = writeReconfigResults (outFile , results )
494
494
Expect (err ).ToNot (HaveOccurred ())
495
495
496
- cleanupResources (30 )
496
+ cleanupResources (resourceCount )
497
497
}
498
498
499
+ // Test 1 - Resources exist before start-up
499
500
It ("test 1 - 30 resources" , func () {
500
501
timeToReadyStartingLogSubstring := "Starting NGINX Gateway Fabric"
501
502
@@ -518,6 +519,7 @@ var _ = Describe("Reconfiguration Performance Testing", Ordered, Label("reconfig
518
519
// )
519
520
//})
520
521
522
+ // Test 2 - Start NGF, deploy Gateway, create many resources attached to GW
521
523
It ("test 2 - 30 resources" , func () {
522
524
timeToReadyStartingLogSubstring := "Reconciling the resource\" ,\" controller\" :\" httproute\" "
523
525
@@ -540,6 +542,7 @@ var _ = Describe("Reconfiguration Performance Testing", Ordered, Label("reconfig
540
542
// )
541
543
//})
542
544
545
+ // Test 3: Start NGF, create many resources attached to a Gateway, deploy the Gateway
543
546
It ("test 3 - 30 resources" , func () {
544
547
timeToReadyStartingLogSubstring := "Reconciling the resource\" ,\" controller\" :\" gateway\" "
545
548
0 commit comments