Commit graph

9 commits

Author SHA1 Message Date
Luke "Jared" Bennett
55b6232c74 Removed unneeded false from poll_spec mockServiceCall call 2017-05-11 19:11:03 +00:00
Luke "Jared" Bennett
2d7b9455e1
Fixed promise action binding and simplified callbacks spy 2017-05-11 13:09:13 +01:00
Luke "Jared" Bennett
dbab076b05
improved mockservicecall and fixed up a settimeout 2017-05-11 12:48:24 +01:00
Luke "Jared" Bennett
4a4b586aa0
Removed vue and vue-resource from poll_spec in an attempt to fix the transient failures relating to async timeout 2017-05-10 20:41:06 +01:00
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