apache / apache/solr-operator

Add Unit tests that check the change of values in sub-resources.

Open
#76 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
283
Forks
148
PR merge metrics
No merged PRs in 30d

Description

We currently have fairly good testing around creating new Solr Clouds & Prometheus Exporters. However, the unit tests do not check that values of dependent resources are correctly updated when the Spec of a cloud/exporter is changed.

**Desired Solution**
Have some tests that make sure that a cloud is set up correctly, then make sure that when values are changed, the underlying kubernetes state changes along with it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing unit tests for creating Solr Clouds and Prometheus Exporters. Add coverage that changes their Specs after setup and verifies the dependent Kubernetes state is updated accordingly; done means both resource types are checked for changed values.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.