Increase timeout for deleting RC in e2e tests.

This commit is contained in:
Wojciech Tyczynski
2015-05-25 10:20:34 +02:00
parent cf7b0bdc2a
commit ff8c772fe0
2 changed files with 8 additions and 1 deletions

View File

@@ -60,6 +60,10 @@ func ReaperFor(kind string, c client.Interface) (Reaper, error) {
return nil, &NoSuchReaperError{kind}
}
func ReaperForReplicationController(c client.Interface, timeout time.Duration) (Reaper, error) {
return &ReplicationControllerReaper{c, Interval, timeout}, nil
}
type ReplicationControllerReaper struct {
client.Interface
pollInterval, timeout time.Duration