Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/#1806merge runner #1876

Merged
merged 3 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions src/tasks/utils/ueransim.cr
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
require "cluster_tools"
module UERANSIM
# MYSQL_PORT = "3306"
# def self.match()
# ClusterTools.local_match_by_image_name(["mysql/mysql-server","bitnami/mysql"])
# # ClusterTools.local_match_by_image_name("bitnami/mysql")
# end

def self.uninstall
Log.for("verbose").info { "uninstall_ueransim" }
Helm.delete("ueransim")
end

# todo make this work without having the test-suite src
# def self.install
# Log.info {"Installing ueransim "}
# Helm.install("ueransim")
# KubectlClient::Get.resource_wait_for_install("Pod", "ueransim")
# end

def self.install(config)
Log.info {"Installing ueransim with 5g config"}
Expand Down
5 changes: 5 additions & 0 deletions src/tasks/workload/5g_validator.cr
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ task "smf_upf_core_validator" do |t, args|
task_start_time = Time.utc
testsuite_task = "smf_upf_core_validator"
Log.for(testsuite_task).info { "Starting test" }

# todo add other resilience and compatiblity tests

args.named["reslience_tests"]="pod_network_latency, pod_delete"

# todo find heartbeat for ran
t.invoke("smf_upf_heartbeat", args)
end
end
Expand Down
4 changes: 2 additions & 2 deletions src/tasks/workload/reliability.cr
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ task "pod_network_latency", ["install_litmus"] do |_, args|
if spec_labels.as_h.has_key?(key) && spec_labels[key] == value
current_pod_key = key
current_pod_value = value
puts "Match found for key: #{key} and value: #{value}"
Log.info { "Match found for key: #{key} and value: #{value}"}
true
else
puts "Match not found for key: #{key} and value: #{value}"
Log.info { "Match not found for key: #{key} and value: #{value}"}
false
end
end
Expand Down
Loading