@@ -196,7 +196,7 @@ func getTemplateData(projectID string) (templateData, []Template) {
196
196
GitlabAPIURL : "https://gitlab.com" ,
197
197
ProjectID : projectID ,
198
198
TargetPipelineQueueLength : "1" ,
199
- ActivationTargetPipelineQueueLength : "1 " ,
199
+ ActivationTargetPipelineQueueLength : "2 " ,
200
200
}, []Template {
201
201
{Name : "secretTemplate" , Config : secretTemplate },
202
202
{Name : "authTemplate" , Config : triggerAuthTemplate },
@@ -213,9 +213,11 @@ func testActivation(t *testing.T, kc *kubernetes.Clientset) {
213
213
func testScaleOut (t * testing.T , kc * kubernetes.Clientset , projectID string ) {
214
214
t .Log ("--- testing scale out ---" )
215
215
queueRun (t , projectID )
216
+ queueRun (t , projectID )
217
+ queueRun (t , projectID )
216
218
217
- assert .True (t , WaitForDeploymentReplicaReadyCount (t , kc , deploymentName , testNamespace , maxReplicaCount , 60 , 1 ),
218
- "replica count should be 1 after 1 minute" )
219
+ assert .True (t , WaitForDeploymentReplicaReadyCount (t , kc , deploymentName , testNamespace , maxReplicaCount , 60 , 2 ),
220
+ "replica count should be 2 after 1 minute" )
219
221
}
220
222
221
223
func testScaleIn (t * testing.T , kc * kubernetes.Clientset , projectID string ) {
0 commit comments