[#33] Client: Add extended life tests
Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
parent
2e56c13946
commit
bd8eb7cc60
24 changed files with 1020 additions and 976 deletions
|
@ -51,6 +51,16 @@ public struct FrostFsPlacementPolicy(bool unique,
|
|||
ContainerBackupFactor = BackupFactor
|
||||
};
|
||||
|
||||
if (Selectors != null && Selectors.Count > 0)
|
||||
{
|
||||
policy.Selectors.AddRange(Selectors.Select(s => s.GetMessage()));
|
||||
}
|
||||
|
||||
if (Filters != null && Filters.Count > 0)
|
||||
{
|
||||
policy.Filters.AddRange(Filters.Select(s => s.ToMessage()));
|
||||
}
|
||||
|
||||
foreach (var replica in Replicas)
|
||||
{
|
||||
policy.Replicas.Add(replica.ToMessage());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue