public static void SetupClient(TestContext context) { try { TestUtils.TestUtils.ResetConfig(); hfclient = TestHFClient.Create(); } catch (System.Exception e) { Assert.Fail($"Unexpected Exception {e.Message}"); } }
public static void SetupClient(TestContext context) { try { hfclient = TestHFClient.Create(); peer = hfclient.NewPeer(PEER_NAME, "grpc://localhost:7051"); } catch (System.Exception e) { Assert.Fail($"Unexpected Exception {e.Message}"); } }
public static void SetupClient(TestContext context) { try { hfclient = TestHFClient.Create(); shutdownChannel = new Channel("shutdown", hfclient); shutdownChannel.AddOrderer(hfclient.NewOrderer("shutdow_orderer", "grpc://localhost:99")); shutdownChannel.IsShutdown = true; throwOrderer = new ThrowOrderer("foo", "grpc://localhost:8", null); throwChannel = new Channel("throw", hfclient); throwChannel.AddOrderer(throwOrderer); } catch (System.Exception e) { Assert.Fail($"Unexpected Exception {e.Message}"); } }
public void SetupClient() { hfclient = TestHFClient.Create(); orderer = hfclient.NewOrderer(ORDERER_NAME, "grpc://localhost:5151"); }