[#19] Client: Use specific classes for search
All checks were successful
DCO / DCO (pull_request) Successful in 27s

Signed-off-by: Pavel Gross <p.gross@yando.com>
This commit is contained in:
Pavel Gross 2024-07-25 14:37:23 +03:00
parent b80ebfca59
commit 6d65f7121e

View file

@ -470,23 +470,23 @@ public class SmokeTests
await CheckFilter(client, containerId, new FilterByRootObject()); await CheckFilter(client, containerId, new FilterByRootObject());
//await Cleanup(client); await Cleanup(client);
//var deadline = DateTime.UtcNow.Add(TimeSpan.FromSeconds(5)); var deadline = DateTime.UtcNow.Add(TimeSpan.FromSeconds(5));
//IAsyncEnumerator<ContainerId>? enumerator = null; IAsyncEnumerator<ContainerId>? enumerator = null;
//do do
//{ {
// if (deadline <= DateTime.UtcNow) if (deadline <= DateTime.UtcNow)
// { {
// Assert.Fail("Containers exist"); Assert.Fail("Containers exist");
// break; break;
// } }
// enumerator = client.ListContainersAsync().GetAsyncEnumerator(); enumerator = client.ListContainersAsync().GetAsyncEnumerator();
// await Task.Delay(500); await Task.Delay(500);
//} }
//while (await enumerator!.MoveNextAsync()); while (await enumerator!.MoveNextAsync());
} }
private static byte[] GetRandomBytes(int size) private static byte[] GetRandomBytes(int size)