Skip to content

Commit

Permalink
Feature: CNF Installation (5.1) - test preparation
Browse files Browse the repository at this point in the history
- open_metrics and prometheus_traffic - changed config map naming
- ip_addresses - removed

Refs: #2153
Signed-off-by: barmull barbora.muller@tietoevry.com
  • Loading branch information
barmull committed Oct 2, 2024
1 parent 552616c commit 3639083
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions spec/workload/configuration_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -193,17 +193,6 @@ describe CnfTestSuite do
end
end

it "'ip_addresses' should pass when no uncommented ip addresses are found in helm chart source", tags: ["ip_addresses"] do
begin
ShellCmd.cnf_setup("cnf-config=./sample-cnfs/sample-coredns-cnf-source/cnf-testsuite.yml verbose skip_wait_for_install")
result = ShellCmd.run_testsuite("ip_addresses verbose")
result[:status].success?.should be_true
(/(PASSED).*(No IP addresses found)/ =~ result[:output]).should_not be_nil
ensure
result = ShellCmd.run_testsuite("sample_coredns_source_cleanup verbose")
end
end

it "'hardcoded_ip_addresses_in_k8s_runtime_configuration' should fail when a hardcoded ip is found in the K8s configuration", tags: ["ip_addresses"] do
begin
ShellCmd.cnf_setup("cnf-path=sample-cnfs/sample_coredns_hardcoded_ips deploy_with_chart=false")
Expand Down

0 comments on commit 3639083

Please sign in to comment.