[#40] Client: Add memory optimization for hash
Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
parent
32a7e64538
commit
809bd90352
17 changed files with 170 additions and 64 deletions
|
@ -55,10 +55,10 @@ public class ObjectTests(ITestOutputHelper testOutputHelper) : SmokeTestsBase
|
|||
|
||||
private async Task RunSuite(IFrostFSClient client, FrostFsContainerId containerId)
|
||||
{
|
||||
int[] objectSizes = [1, 257, 6 * 1024, 20 * 1024];
|
||||
int[] objectSizes = [1, 257, 5 * 1024 * 1024, 20 * 1024 * 1024];
|
||||
|
||||
string[] objectTypes = [clientCut, serverCut, singleObject];
|
||||
|
||||
|
||||
foreach (var objectSize in objectSizes)
|
||||
{
|
||||
_testOutputHelper.WriteLine($"test set for object size {objectSize}");
|
||||
|
@ -77,13 +77,13 @@ public class ObjectTests(ITestOutputHelper testOutputHelper) : SmokeTestsBase
|
|||
break;
|
||||
case clientCut:
|
||||
objectId = await CreateObjectClientCut(client, containerId, bytes);
|
||||
_testOutputHelper.WriteLine($"\tclient side cut");
|
||||
_testOutputHelper.WriteLine($"\tclient side cut");
|
||||
break;
|
||||
case singleObject:
|
||||
if (objectSize > 1 * 1024 * 1024)
|
||||
continue;
|
||||
objectId = await PutSingleObject(client, containerId, bytes);
|
||||
_testOutputHelper.WriteLine($"\tput single object");
|
||||
_testOutputHelper.WriteLine($"\tput single object");
|
||||
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue