mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-06-13 14:38:43 +00:00
Test
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Esiur.Tests.RPC.Client
|
||||
var rt = new TestResults();
|
||||
|
||||
using var mon = new PerProcessNetMonitor(Process.GetCurrentProcess().Id);
|
||||
mon.Start();
|
||||
//mon.Start();
|
||||
|
||||
Console.WriteLine($"\n== Esiur @ {address} ==");
|
||||
|
||||
@@ -105,24 +105,6 @@ namespace Esiur.Tests.RPC.Client
|
||||
return rt;
|
||||
}
|
||||
|
||||
//public static async Task Do(string address)
|
||||
//{
|
||||
// Console.WriteLine($"\n== Esiur @ {address} ==");
|
||||
|
||||
// var service = await Warehouse.Default.Get<RPC.Esiur.Service>(address);
|
||||
|
||||
// var workloads = DocGenerator.BuildWorkloads();
|
||||
|
||||
// foreach (var w in workloads)
|
||||
// {
|
||||
// Console.WriteLine("Workload: " + w.Item1);
|
||||
// var rx = await service.EchoDocuments(w.Item2);
|
||||
|
||||
// for (var i = 0; i < rx.Length; i++)
|
||||
// if (!rx[i].Equals(w.Item2[i]))
|
||||
// throw new Exception("No match");
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ for (var i = 0; i < 10; i++)
|
||||
var intWorkloads = Shared.BuildIntWorkloads(seed);
|
||||
|
||||
results["esiur"].Add(
|
||||
await EsiurTest.DoTest("iip://localhost:5005/sys/service", docsWorkloads, dataWorkLoads, intWorkloads)
|
||||
await EsiurTest.DoTest("ep://localhost:5005/sys/service", docsWorkloads, dataWorkLoads, intWorkloads)
|
||||
);
|
||||
|
||||
results["thrift"].Add(
|
||||
|
||||
Reference in New Issue
Block a user