[#19] Client: Use specific classes for search
All checks were successful
DCO / DCO (pull_request) Successful in 27s
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:
parent
b80ebfca59
commit
6d65f7121e
1 changed files with 14 additions and 14 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue