mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-01 14:38:33 +00:00
Merge pull request #13190 from manuelh-dev/mahuber/fix-num-cpus-bats
tests: fix k8s-number-cpus expectation
This commit is contained in:
@@ -31,7 +31,7 @@ setup() {
|
||||
# Skip on aarch64 due to missing cpu hotplug related functionality.
|
||||
@test "Check number of cpus" {
|
||||
local -r retries="10"
|
||||
local -r max_number_cpus="3"
|
||||
local -r max_number_cpus="2"
|
||||
local number_cpus=""
|
||||
|
||||
# Create pod
|
||||
@@ -50,6 +50,8 @@ setup() {
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
|
||||
[ "$number_cpus" -eq "$max_number_cpus" ]
|
||||
}
|
||||
|
||||
teardown() {
|
||||
|
||||
Reference in New Issue
Block a user