We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e74ff0f commit 4612962Copy full SHA for 4612962
1 file changed
tests/integration/update.bats
@@ -766,6 +766,17 @@ EOF
766
767
check_cgroup_value "cpu.rt_period_us" 900001
768
check_cgroup_value "cpu.rt_runtime_us" 600001
769
+
770
+ # https://github.com/opencontainers/runc/issues/4094
771
+ runc update test_update_rt --cpu-rt-period 10000 --cpu-rt-runtime 3000
772
+ [ "$status" -eq 0 ]
773
+ check_cgroup_value "cpu.rt_period_us" 10000
774
+ check_cgroup_value "cpu.rt_runtime_us" 3000
775
776
+ runc update test_update_rt --cpu-rt-period 100000 --cpu-rt-runtime 20000
777
778
+ check_cgroup_value "cpu.rt_period_us" 100000
779
+ check_cgroup_value "cpu.rt_runtime_us" 20000
780
}
781
782
@test "update devices [minimal transition rules]" {
0 commit comments