test_readiness_operators[<=-10-5-5-count-less or equal]

✓ pass on Combined (All three PRs merged) · 4.1 s

Each operator (==, !=, <, <=, >, >= on numbers; == on strings and booleans) holds the wait until the patch makes it true.

Same test on other tiers: PR1 — n/aPR2 — n/aPR3 ✓ pass

Requirements

R34 Expression syntax {jsonpath} op value over .status, ops == != < <= > >= implemented

{<jsonpath_query>} <logical_operator> <value> [...] <jsonpath_query> is a Kubernetes JSONPath query scoped to .status. <logical_operator> supports: ==, !=, <, <=, >, >=. <value> is the expected literal for comparison.HIP-0025, JsonPath syntax

The test needs these tier features: readiness.

What the test observed

The test asserts on these facts. Times come from the kube-apiserver audit log (UTC).

less or equal operator

<=

count changes

08:51:28.204  5

install completed

True

apiserver timeline

08:51:28.204  status Probe/probe count=5 (test patch)
08:51:28.208  helm writes release record: deployed

Charts

The charts that the helm commands below read. The run keeps each chart as an archive. Click a chart to see its files and the commands that inspect or install it.

Chart directoryChartArchivesha256
charts/hip-readiness-basic hip-readiness-basic 0.1.0 · apiVersion v3HIP-0025 PR3 readiness annotations - Probe with configurable expressions hip-readiness-basic-0.1.0.tgz · 1022 B 2534a8588e3d9ccf

Commands

Every command that the test ran, in order, with the start time, the exit code and the output. The paths are relative to the root of the repository.

08:51:25.071 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-readiness-operators-10-5-5-count-less-or-equal --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]


08:51:25.118 $ kubectl --context kind-hip0025-e2e create namespace e2e-combined-readiness-operators-10-5-5-count-less-or-equal
[exit 0, 0.0s]
namespace/e2e-combined-readiness-operators-10-5-5-count-less-or-equal created


08:51:28.163 $ kubectl --context kind-hip0025-e2e patch Probe probe -n e2e-combined-readiness-operators-10-5-5-count-less-or-equal --subresource=status --type=merge -p {"status": {"count": 5}}
[exit 0, 0.0s]
probe.readiness.hip0025.example/probe patched


08:51:25.159 $ .bin/helm-combined install r charts/hip-readiness-basic -f runs/20261008-084220/combined/test_readiness_operators_-10-5-5-count-less_or_equal_/values.yaml --namespace e2e-combined-readiness-operators-10-5-5-count-less-or-equal --wait --timeout 2m --kube-context kind-hip0025-e2e
[exit 0, 3.1s]
NAME: r
LAST DEPLOYED: Thu Oct  8 04:51:25 2026
NAMESPACE: e2e-combined-readiness-operators-10-5-5-count-less-or-equal
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: None


08:51:29.221 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-readiness-operators-10-5-5-count-less-or-equal --wait=false
[exit 0, 0.0s]
namespace "e2e-combined-readiness-operators-10-5-5-count-less-or-equal" deleted


values.yaml

probe:
  failureExpressions:
  - '{.phase} == Failed'
  successExpressions:
  - '{.count} <= 5'

Files

FileSizeContent
audit.jsonl 8.8 KB 6 kube-apiserver audit records for the namespace of the test
commands.log 1.4 KB the commands above
observations.json 426 B the observations above, as JSON
values.yaml 96 B an input file of the test