Beispiel #1
0
 public ClientTest()
 {
     _lock   = AsyncHelpers.RunSync(() => SelectiveParallel.NoParallel());
     _client = new ConsulClient(c =>
     {
         c.Token   = TestHelper.MasterToken;
         c.Address = TestHelper.HttpUri;
     });
 }
Beispiel #2
0
 public HealthTest()
 {
     m_lock = AsyncHelpers.RunSync(() => SelectiveParallel.Parallel());
 }
Beispiel #3
0
 public StatusTest()
 {
     m_lock = AsyncHelpers.RunSync(() => SelectiveParallel.NoParallel());
 }
Beispiel #4
0
 public PreparedQueryTest()
 {
     m_lock = AsyncHelpers.RunSync(() => SelectiveParallel.Parallel());
 }
Beispiel #5
0
 public SemaphoreTest()
 {
     m_lock = AsyncHelpers.RunSync(() => SelectiveParallel.Parallel());
 }
Beispiel #6
0
 public CoordinateTest()
 {
     m_lock = AsyncHelpers.RunSync(() => SelectiveParallel.Parallel());
 }