Esempio n. 1
0
 private void InstantiateFayeClient()
 {
     _fayeClient = new FayeClient(socket: _websocket,
                                  connectionId: TestContext.CurrentContext.Test.Name);
     // test systems are slow, so give twice the normal amount of time
     _fayeClient.ConnectionOpenTimeout = new TimeSpan(_fayeClient.ConnectionOpenTimeout.Ticks * 2);
 }
Esempio n. 2
0
 public override void SetUp()
 {
     base.SetUp();
     _fayeClient        = null;
     _websocket         = null;
     _connection        = null;
     _fayeServerProcess = new ThinServerProcess(thinPort: 8132,
                                                workingDirectory: WorkingDirectory);
 }
Esempio n. 3
0
 public override void SetUp()
 {
     base.SetUp();
     _fayeClient        = null;
     _websocket         = null;
     _connection        = null;
     _connection2       = null;
     _fayeServerProcess = new ThinServerProcess(thinPort: THIN_SERVER_PORT,
                                                workingDirectory: WorkingDirectory);
     _socatInterceptor = null;
     _connectionNumber = 0;
 }
Esempio n. 4
0
 private void InstantiateFayeClient()
 {
     _fayeClient = GetFayeClient(_websocket);
     // test systems are slow, so give twice the normal amount of time
     _fayeClient.ConnectionOpenTimeout = new TimeSpan(_fayeClient.ConnectionOpenTimeout.Ticks * 2);
 }