Skip to content

Commit 640c5b8

Browse files
authored
Merge pull request kubernetes#133300 from sanposhiho/flake-schedule-one
fix: return false to apply the patch at the reactor
2 parents 29e66a6 + 46b858a commit 640c5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scheduler/schedule_one_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ func TestSchedulerScheduleOne(t *testing.T) {
10641064
mu.Lock()
10651065
updatedNominatedNodeName = updatedPod.Status.NominatedNodeName
10661066
mu.Unlock()
1067-
return true, nil, nil
1067+
return false, nil, nil
10681068
})
10691069

10701070
schedFramework, err := tf.NewFramework(ctx,

0 commit comments

Comments
 (0)