fix: retrieve data from second node

- test_da_sampling_determines_data_presence
This commit is contained in:
Roman 2025-01-22 14:52:08 +08:00
parent 4bc7c74d91
commit 82abae7a2d
No known key found for this signature in database
GPG Key ID: B8FE070B54E11B75

View File

@ -26,5 +26,5 @@ class TestDataIntegrity(StepsDataAvailability):
@pytest.mark.usefixtures("setup_2_node_cluster")
def test_da_sampling_determines_data_presence(self):
self.disperse_data(DATA_TO_DISPERSE[0], [0] * 31 + [1], [0] * 8)
received_data = self.get_data_range([0] * 31 + [1], [0] * 8, [0] * 7 + [5])
received_data = self.get_data_range(self.node2, [0] * 31 + [1], [0] * 8, [0] * 7 + [5])
assert DATA_TO_DISPERSE[0] == bytes(received_data[0][1]).decode("utf-8")