Skip to content

Commit

Permalink
Update smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
razvan committed Aug 16, 2023
1 parent 105c92d commit df7980d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/operator-binary/src/history_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ pub async fn reconcile(shs: Arc<SparkHistoryServer>, ctx: Arc<Ctx>) -> Result<Ac
.await
.context(ApplyServiceSnafu)?;

for (rolegroup_name, _rolegroup_config) in role_config.iter() {
for (rolegroup_name, rolegroup_config) in role_config.iter() {
let rgr = RoleGroupRef {
cluster: ObjectRef::from_obj(&*shs),
role: role_name.into(),
Expand All @@ -239,7 +239,7 @@ pub async fn reconcile(shs: Arc<SparkHistoryServer>, ctx: Arc<Ctx>) -> Result<Ac

let config_map = build_config_map(
&shs,
_rolegroup_config,
rolegroup_config,
&merged_config,
&resolved_product_image.app_version_label,
&rgr,
Expand Down
4 changes: 4 additions & 0 deletions tests/templates/kuttl/smoke/10-deploy-spark-app.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
driver:
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
jvmSecurity:
networkaddress.cache.ttl: "5"
executor:
instances: 1
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
jvmSecurity:
networkaddress.cache.ttl: "5"

0 comments on commit df7980d

Please sign in to comment.