Add interface for get_list_of_all_pilorama function #31

Closed
ylukoyan wants to merge 1 commit from ylukoyan/frostfs-testlib:pilorama_list into master
Member
No description provided.
ylukoyan added 1 commit 2023-05-30 16:16:03 +00:00
ylukoyan requested review from qa-committers 2023-05-30 16:29:17 +00:00
ylukoyan requested review from qa-developers 2023-05-30 16:29:17 +00:00
ylukoyan requested review from anikeev-yadro 2023-05-30 16:29:25 +00:00
ylukoyan requested review from abereziny 2023-05-30 16:29:25 +00:00
abereziny requested changes 2023-05-30 16:45:42 +00:00
@ -178,2 +178,4 @@
self.host.delete_pilorama(self.name)
def get_list_of_all_pilorama(self):
return self.host.get_list_of_all_pilorama(self.name)
Member

Currenlty, host has no get_list_of_all_pilorama

Currenlty, `host` has no `get_list_of_all_pilorama`
Member

It's getting out of control, we have too many similar little functions which do something with data_directory_path which requires to add new methods to 3 repos (testlib + 2 plugins).

I propose to continue with better approach regarding these.

  1. Add method get_data_directory to host interface and support it in 3 repos (testlib + 2 plugins)
  2. Unless there are significant differences between plugins - any new methods which requires data_directory manipulations should be coded in steps folder or inside cluster classes (ClusterNode/NodeBase)

This way we will need to support new such methods only in 1 repo instead of 3.

It's getting out of control, we have too many similar little functions which do something with `data_directory_path` which requires to add new methods to 3 repos (testlib + 2 plugins). I propose to continue with better approach regarding these. 1. Add method `get_data_directory` to host interface and support it in 3 repos (testlib + 2 plugins) 2. Unless there are significant differences between plugins - any new methods which requires data_directory manipulations should be coded in steps folder or inside cluster classes (ClusterNode/NodeBase) This way we will need to support new such methods only in 1 repo instead of 3.
Author
Member

I'll make another PR with proposed changes

I'll make another PR with proposed changes
ylukoyan closed this pull request 2023-06-01 05:59:05 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
TrueCloudLab/qa-developers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-testlib#31
No description provided.