Make scheduler integration test faster

Not to wait for 30 seconds for every negative test case. It cuts the
test time from 450s to 125s.
This commit is contained in:
Yongkun Anfernee Gui
2017-10-17 10:32:46 -07:00
parent df072ca97e
commit dc15e9cf90
4 changed files with 24 additions and 13 deletions

View File

@@ -49,7 +49,7 @@ const (
// IMPORTANT NOTE for predicate developers:
// We are using cached predicate result for pods belonging to the same equivalence class.
// So when updating a existing predicate, you should consider whether your change will introduce new
// So when updating an existing predicate, you should consider whether your change will introduce new
// dependency to attributes of any API object like Pod, Node, Service etc.
// If yes, you are expected to invalidate the cached predicate result for related API object change.
// For example: