lp:~chipaca/ubuntu-push/client-session-redialer-mash

Created by John Lenton and last modified
Get this branch:
bzr branch lp:~chipaca/ubuntu-push/client-session-redialer-mash
Only John Lenton can upload to this branch. If you are John Lenton please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
John Lenton
Project:
Ubuntu Push Notifications
Status:
Merged

Recent revisions

56. By John Lenton

stopRedial

55. By John Lenton

tested the closing of the retrier by session.Close and session.AutoRedial

54. By John Lenton

made AutoRedialer an interface

53. By John Lenton

Reworked util/redialer, so i could refactor session, so i could fix client. Or something like that anyway.

52. By Samuele Pedroni

[r=chipaca] base the simple logger only on having a log.Logger-style Output(); given this we can introduce a testing.TestLogger that does redirecting of logs to the gocheck.C object if wired in SetUpTest and also does its own capture

51. By John Lenton

[r=pedronis] Several things:
* features:
  * Client.doLoop, the puppet master.
* fixes and cleanups:
  * added log_level to client config
  * added the mysterious sessionRetryCh, used in doLoop to avoid a rather common starvation scenario.
  * found a way not to panic out in initSession (not that it's much better)
  * unified logging in the client tests a bit
  * added logging to session's start error states.

50. By John Lenton

[r=pedronis] Several things:
* features:
  * bus/testing/'s Endpoint now tracks Calls; call bus/testing.GetCallCargs(endp) to get the list.
  * Client.handleErr, Client.handleNotification and Client.handleClick (and tests)
* cleanups:
  * renamed client's Client's connState to hasConnectivity
  * split out code from handleConnState into initSession/connectSession/disconnectSession

49. By John Lenton

[r=pedronis] added handleConnState

48. By John Lenton

[r=pedronis] Part 4: added State to client/session, to aid in testing some aspects of
this.

47. By Samuele Pedroni

[r=chipaca] fix corner cases like client level too ahead etc, with acceptance tests

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu-push
This branch contains Public information 
Everyone can see this information.

Subscribers