class_docstr: Tests scheduler.
class_docstr_tok: ["Tests","scheduler","."]
code: def test_startupprobe_values_are_configurable(self):
      docs = render_chart(
          values={
              "scheduler": {
                  "startupProbe": {
                      "timeoutSeconds": 111,
                      "failureThreshold": 222,
                      "periodSeconds": 333,
                      "command": ["sh", "-c", "echo", "wow such test"],
                  }
              },
          },
          show_only=["templates/scheduler/scheduler-deployment.yaml"],
      )
  
      assert 111 == jmespath.search(
          "spec.template.spec.containers[0].startupProbe.timeoutSeconds",
          docs[0],
      )
      assert 222 == jmespath.search(
          "spec.template.spec.containers[0].startupProbe.failureThreshold",
          docs[0],
      )
      assert 333 == jmespath.search(
          "spec.template.spec.containers[0].startupProbe.periodSeconds",
          docs[0],
      )
      assert ["sh", "-c", "echo", "wow such test"] == jmespath.search(
          "spec.template.spec.containers[0].startupProbe.exec.command",
          docs[0],
      )
  
imports: from __future__ import annotations
  import jmespath
  import pytest
  from tests.charts.helm_template_generator import render_chart
  from tests.charts.log_groomer import LogGroomerTestBase
label_desc: Use image node_id 16 for calling the TestScheduler obj's underlying member method code with example usage: obj.test_startupprobe_values_are_configurable() without return types