예제 #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);
 }
예제 #2
0
 public override void SetUp()
 {
     base.SetUp();
     _fayeClient        = null;
     _websocket         = null;
     _connection        = null;
     _fayeServerProcess = new ThinServerProcess(thinPort: 8132,
                                                workingDirectory: WorkingDirectory);
 }
예제 #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;
 }
예제 #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);
 }