Skip to content

Commit 36db62c

Browse files
authored
Merge pull request kubernetes#86737 from oomichi/add-test-title-in-TestPreemption
Output test description in TestPreemption
2 parents 822a2de + 00abe6d commit 36db62c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration/scheduler/preemption_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ func TestPreemption(t *testing.T) {
395395
}
396396

397397
for _, test := range tests {
398+
t.Logf("================ Running test: %v\n", test.description)
398399
filter.Tokens = test.initTokens
399400
filter.Unresolvable = test.unresolvable
400401
pods := make([]*v1.Pod, len(test.existingPods))
@@ -586,6 +587,7 @@ func TestPodPriorityResolution(t *testing.T) {
586587

587588
pods := make([]*v1.Pod, 0, len(tests))
588589
for _, test := range tests {
590+
t.Logf("================ Running test: %v\n", test.Name)
589591
t.Run(test.Name, func(t *testing.T) {
590592
pod, err := runPausePod(cs, test.Pod)
591593
if err != nil {

0 commit comments

Comments
 (0)