@@ -257,11 +257,11 @@ func TestEngine_DeploymentJobAgentConfigMerging(t *testing.T) {
257
257
// Verify deployment has job agent config
258
258
d , _ := engine .Workspace ().Deployments ().Get (deploymentID )
259
259
config := d .GetJobAgentConfig ().AsMap ()
260
-
260
+
261
261
if config ["namespace" ] != "custom-namespace" {
262
262
t .Fatalf ("deployment job agent config namespace mismatch: got %v, want custom-namespace" , config ["namespace" ])
263
263
}
264
-
264
+
265
265
if timeout , ok := config ["timeout" ].(float64 ); ! ok || timeout != 300 {
266
266
t .Fatalf ("deployment job agent config timeout mismatch: got %v, want 300" , config ["timeout" ])
267
267
}
@@ -278,12 +278,12 @@ func TestEngine_DeploymentJobAgentConfigMerging(t *testing.T) {
278
278
break
279
279
}
280
280
jobConfig := job .GetJobAgentConfig ().AsMap ()
281
-
281
+
282
282
// Verify merged config includes deployment-specific settings
283
283
if jobConfig ["namespace" ] != "custom-namespace" {
284
284
t .Fatalf ("job config namespace mismatch: got %v, want custom-namespace" , jobConfig ["namespace" ])
285
285
}
286
-
286
+
287
287
if timeout , ok := jobConfig ["timeout" ].(float64 ); ! ok || timeout != 300 {
288
288
t .Fatalf ("job config timeout mismatch: got %v, want 300" , jobConfig ["timeout" ])
289
289
}
@@ -389,7 +389,7 @@ func TestEngine_DeploymentMultipleJobAgents(t *testing.T) {
389
389
// Verify each job has the correct job agent
390
390
k8sJobFound := false
391
391
dockerJobFound := false
392
-
392
+
393
393
for _ , job := range pendingJobs {
394
394
if job .DeploymentId == deploymentK8s {
395
395
k8sJobFound = true
0 commit comments