Commit graph

5 commits

Author SHA1 Message Date
Phil Hughes
194955fe51 Fixed random failures with Poll spec
Correctly waits for requests to finish before testing anything.
Previously it was waiting for a set amount of time which could possibly
cause failures dependant on how quickly these execute

Stops any polling requests once done so that the error callback doesn't
get called with a 404

Closes #30824
2017-04-12 13:42:01 +01:00
Filipa Lacerda
9f7c19b352 Adds restart method and auxiliar callback to polling class 2017-03-24 16:59:14 +00:00
Filipa Lacerda
14b077b7cb Adds stop function so we can stop polling anytime 2017-03-23 15:57:03 +00:00
Filipa Lacerda
45b2c63fdf simplifies assignment of default options 2017-03-22 12:37:38 +00:00
Filipa Lacerda
a94ee46876 Adds tests and changes after review 2017-03-21 18:07:02 +00:00