Skip to content

Commit 6316a75

Browse files
committed
Fix spec issues
Signed-off-by: Rafal Lal <rafal.lal@tietoevry.com>
1 parent da5e6f5 commit 6316a75

2 files changed

Lines changed: 1 addition & 18 deletions

File tree

spec/workload/observability_spec.cr

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -143,23 +143,6 @@ describe "Observability" do
143143
result[:status].success?.should be_true
144144
end
145145

146-
it "'routed_logs' should fail if cnfs logs are not captured", tags: ["observability"] do
147-
148-
ShellCmd.cnf_install("cnf-config=sample-cnfs/sample-coredns-cnf/cnf-testsuite.yml")
149-
Helm.helm_repo_add("bitnami","https://charts.bitnami.com/bitnami")
150-
#todo #helm install --values ./override.yml fluentd ./fluentd
151-
Helm.install("fluentd", "bitnami/fluentd", namespace: TESTSUITE_NAMESPACE, values: "--values ./spec/fixtures/fluentd-values-bad.yml")
152-
Log.info { "Installing FluentD daemonset" }
153-
KubectlClient::Wait.resource_wait_for_install("Daemonset", "fluentd", namespace: TESTSUITE_NAMESPACE)
154-
155-
result = ShellCmd.run_testsuite("routed_logs")
156-
(/(FAILED).*(Your CNF's logs are not being captured)/ =~ result[:output]).should_not be_nil
157-
ensure
158-
result = ShellCmd.cnf_uninstall()
159-
result = ShellCmd.run_testsuite("uninstall_fluentd")
160-
result[:status].success?.should be_true
161-
end
162-
163146
it "'tracing' should fail if tracing is not used", tags: ["observability_jaeger_fail"] do
164147
# (kosstennbl) TODO: Test and specs for 'tracing' should be redesigned. Check #2153 for more info. Spec was using sample-coredns-cnf CNF.
165148
end

src/tasks/setup/cluster_api_setup.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace "setup" do
1313
task "cluster_api_install" do |_, args|
1414
current_dir = FileUtils.pwd
1515

16-
download(Setup::CLUSTER_API_URL, Setup::CLUSTERCTL_BINARY)
16+
download(Setup::CLUSTER_API_URL, "./clusterctl")
1717

1818
Process.run(
1919
"sudo chmod +x ./clusterctl",

0 commit comments

Comments
 (0)