<commit_before>Feature: Istio reconciler works as expected
  Scenario: A httpbin deployment without sidecar gets restarted and injected with sidecar
    Given Istio component is installed
    And "sidecar-recovery" namespace exists
    And "sidecar-recovery" namespace is labeled with "istio-injection" "enabled"
    And Httpbin deployment is created in "sidecar-recovery" namespace
    And Httpbin deployment is deployed and ready in "sidecar-recovery" namespace
    And there "should" be Istio sidecar in httpbin pod in "sidecar-recovery" namespace
    And a reconcilation takes place
    And istioctl install takes place
    And the httpbin deployment in "sidecar-recovery" namespace gets restarted until there is no sidecar
    And the reconcilation is aborted
    And there is 1 Httpbin deployment in "sidecar-recovery" namespace
    And there "shouldn't" be Istio sidecar in httpbin pod in "sidecar-recovery" namespace
    When a reconcilation takes place
    Then reconciler restarts the faulty deployment
    And there "should" be Istio sidecar in httpbin pod in "sidecar-recovery" namespace
    And "sidecar-recovery" namespace is deleted<commit_msg>Wait for httpbin to become ready (#15527)<commit_after>Feature: Istio reconciler works as expected
  Scenario: A httpbin deployment without sidecar gets restarted and injected with sidecar
    Given Istio component is installed
    And "sidecar-recovery" namespace exists
    And "sidecar-recovery" namespace is labeled with "istio-injection" "enabled"
    And Httpbin deployment is created in "sidecar-recovery" namespace
    And Httpbin deployment is deployed and ready in "sidecar-recovery" namespace
    And there "should" be Istio sidecar in httpbin pod in "sidecar-recovery" namespace
    And a reconcilation takes place
    And istioctl install takes place
    And the httpbin deployment in "sidecar-recovery" namespace gets restarted until there is no sidecar
    And the reconcilation is aborted
    And there is 1 Httpbin deployment in "sidecar-recovery" namespace
    And there "shouldn't" be Istio sidecar in httpbin pod in "sidecar-recovery" namespace
    When a reconcilation takes place
    Then reconciler restarts the faulty deployment
    And Httpbin deployment is deployed and ready in "sidecar-recovery" namespace
    And there "should" be Istio sidecar in httpbin pod in "sidecar-recovery" namespace
    And "sidecar-recovery" namespace is deleted
{'fraction_non_alphanumeric': 0.04120313143798929, 'fraction_numerical': 0.00288421920065925, 'mean_word_length': 4.278260869565218, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3520391', 'n_tokens_mistral': 638, 'n_tokens_neox': 634, 'n_words': 301}