mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #78746 from danwinship/test-name-typo
Fix spelling of test name
This commit is contained in:
commit
3b146147e8
@ -921,7 +921,7 @@ func TestPodFailedSchedulingMultipleTimesDoesNotBlockNewerPod(t *testing.T) {
|
|||||||
|
|
||||||
// TestHighPriorityBackoff tests that a high priority pod does not block
|
// TestHighPriorityBackoff tests that a high priority pod does not block
|
||||||
// other pods if it is unschedulable
|
// other pods if it is unschedulable
|
||||||
func TestHighProirotyBackoff(t *testing.T) {
|
func TestHighPriorityBackoff(t *testing.T) {
|
||||||
q := NewPriorityQueue(nil, nil)
|
q := NewPriorityQueue(nil, nil)
|
||||||
|
|
||||||
midPod := v1.Pod{
|
midPod := v1.Pod{
|
||||||
@ -959,7 +959,7 @@ func TestHighProirotyBackoff(t *testing.T) {
|
|||||||
t.Errorf("Error while popping the head of the queue: %v", err)
|
t.Errorf("Error while popping the head of the queue: %v", err)
|
||||||
}
|
}
|
||||||
if p != &highPod {
|
if p != &highPod {
|
||||||
t.Errorf("Expected to get high prority pod, got: %v", p)
|
t.Errorf("Expected to get high priority pod, got: %v", p)
|
||||||
}
|
}
|
||||||
// Update pod condition to unschedulable.
|
// Update pod condition to unschedulable.
|
||||||
podutil.UpdatePodCondition(&p.Status, &v1.PodCondition{
|
podutil.UpdatePodCondition(&p.Status, &v1.PodCondition{
|
||||||
@ -978,13 +978,13 @@ func TestHighProirotyBackoff(t *testing.T) {
|
|||||||
t.Errorf("Error while popping the head of the queue: %v", err)
|
t.Errorf("Error while popping the head of the queue: %v", err)
|
||||||
}
|
}
|
||||||
if p != &midPod {
|
if p != &midPod {
|
||||||
t.Errorf("Expected to get mid prority pod, got: %v", p)
|
t.Errorf("Expected to get mid priority pod, got: %v", p)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestHighProirotyFlushUnschedulableQLeftover tests that pods will be moved to
|
// TestHighPriorityFlushUnschedulableQLeftover tests that pods will be moved to
|
||||||
// activeQ after one minutes if it is in unschedulableQ
|
// activeQ after one minutes if it is in unschedulableQ
|
||||||
func TestHighProirotyFlushUnschedulableQLeftover(t *testing.T) {
|
func TestHighPriorityFlushUnschedulableQLeftover(t *testing.T) {
|
||||||
q := NewPriorityQueue(nil, nil)
|
q := NewPriorityQueue(nil, nil)
|
||||||
midPod := v1.Pod{
|
midPod := v1.Pod{
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
|
Loading…
Reference in New Issue
Block a user