Added tests EC policy #281
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-testcases#281
Loading…
Reference in a new issue
No description provided.
Delete branch "d.zayakin/frostfs-testcases:new-ec-rep-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Signed-off-by: Dmitriy Zayakin d.zayakin@yadro.com
@ -579,0 +878,4 @@
expect_chunks = 4 if object_size.name == "simple" else 16
assert len(chunks) == expect_chunks
@allure.title("Replication chunk after drop.(size={object_size})")
Why dot ?
@ -501,0 +506,4 @@
@reporter.step("Search container by name")
def search_container_by_name(name: str, node: ClusterNode):
It's not a fixture to be in conftest
It's not even used!
@ -73,2 +78,4 @@
@pytest.mark.ec_replication
class TestECReplication(ClusterTestBase):
@wait_for_success(120, 5)
def wait_update_network_map(self, frostfs_cli: FrostfsCli, alive_node: ClusterNode, wait_nodes: int) -> bool:
wait_update_network_map
=>wait_for_nodes_appears_in_map
wait_nodes
=>desired_nodes_count
@ -75,0 +87,4 @@
@wait_for_success(120, 5)
def wait_replication(self, total_chunks: int, local_cli: FrostfsCli, cid: str, oid: str, success: bool = True) -> None:
if not success:
Why? Success not even used anywhere
I don't specify this as an argument anywhere, since it leads by default. And added the ability to do False, for cases where you need to check that the number of replications does not match
76a9b77e27
toe35e7e58d5
e35e7e58d5
to262b78766b
262b78766b
to7a4144ce9e
7a4144ce9e
tobbc1a20a4d
bbc1a20a4d
to286ed5f9e7
286ed5f9e7
to0c881c6fc8