Skip to content

Commit

Permalink
RHPAM-3528
Browse files Browse the repository at this point in the history
Signed-off-by: desmax74 <[email protected]>
  • Loading branch information
desmax74 committed Mar 17, 2022
1 parent 0eb85df commit 3dad021
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/kieapp/defaults/defaults_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7279,8 +7279,8 @@ func TestKieExecutorMDB(t *testing.T) {
assert.NotNil(t, cr.Status.Applied.Objects.Servers[0].KieExecutorMDBMaxSession)
mdbMaxSessionPassed := false
for _, env := range env.Servers[0].DeploymentConfigs[0].Spec.Template.Spec.Containers[0].Env {
if strings.HasPrefix(env.Name, "JBOSS_KIE_EXECUTOR_MDB") {
if env.Name == "JBOSS_KIE_EXECUTOR_MDB_MAX_SESSIONS" && env.Value == "40" {
if strings.HasPrefix(env.Name, "KIE_EXECUTOR_MDB") {
if env.Name == "KIE_EXECUTOR_MDB_MAX_SESSIONS" && env.Value == "40" {
mdbMaxSessionPassed = true
}
}
Expand Down
2 changes: 1 addition & 1 deletion rhpam-config/7.12.1/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ servers:
#[[end]]
## CORS END
#[[if .KieExecutorMDBMaxSession]]
- name: JBOSS_KIE_EXECUTOR_MDB_MAX_SESSIONS
- name: KIE_EXECUTOR_MDB_MAX_SESSIONS
value: "[[.KieExecutorMDBMaxSession]]"
#[[end]]
livenessProbe:
Expand Down

0 comments on commit 3dad021

Please sign in to comment.