mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #86737 from oomichi/add-test-title-in-TestPreemption
Output test description in TestPreemption
This commit is contained in:
commit
36db62cd73
@ -395,6 +395,7 @@ func TestPreemption(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
t.Logf("================ Running test: %v\n", test.description)
|
||||
filter.Tokens = test.initTokens
|
||||
filter.Unresolvable = test.unresolvable
|
||||
pods := make([]*v1.Pod, len(test.existingPods))
|
||||
@ -586,6 +587,7 @@ func TestPodPriorityResolution(t *testing.T) {
|
||||
|
||||
pods := make([]*v1.Pod, 0, len(tests))
|
||||
for _, test := range tests {
|
||||
t.Logf("================ Running test: %v\n", test.Name)
|
||||
t.Run(test.Name, func(t *testing.T) {
|
||||
pod, err := runPausePod(cs, test.Pod)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user