Move shared code to testlib #17

Merged
abereziny merged 1 commits from abereziny/frostfs-testlib:feature-move-shared-codebase into master 2023-05-15 11:12:58 +00:00
Collaborator
  • Move shared code from testcases to testlib.
  • Remove 3rd party company notes
  • update version to 2.0.0

Signed-off-by: Andrey Berezin a.berezin@yadro.com

+ Move shared code from testcases to testlib. + Remove 3rd party company notes + update version to 2.0.0 Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
abereziny added 1 commit 2023-05-14 10:46:19 +00:00
997e768e92 Move shared code to testlib
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
abereziny requested review from qa-committers 2023-05-14 10:46:26 +00:00
abereziny requested review from qa-developers 2023-05-14 10:46:26 +00:00
abereziny added the
P0
refactoring
labels 2023-05-14 10:47:15 +00:00
anikeev-yadro approved these changes 2023-05-14 14:04:18 +00:00
JuliaKovshova approved these changes 2023-05-15 06:29:42 +00:00
@ -12,4 +12,0 @@
morph: Optional[FrostfsAdmMorph] = None
subnet: Optional[FrostfsAdmMorphSubnet] = None
storage_config: Optional[FrostfsAdmStorageConfig] = None
version: Optional[FrostfsAdmVersion] = None

are you sure that removing default values is a good idea?

are you sure that removing default values is a good idea?
Poster
Collaborator

Yes, since it's not a dataclass. And these variables filled on __init__

Yes, since it's not a dataclass. And these variables filled on `__init__`
@ -16,0 +13,4 @@
subnet: FrostfsAdmMorphSubnet
storage_config: FrostfsAdmStorageConfig
version: FrostfsAdmVersion
config: FrostfsAdmConfig

why you add config and don't use it?

why you add config and don't use it?
Poster
Collaborator

It was missing before. I just added missing var )

It was missing before. I just added missing var )
@ -0,0 +19,4 @@
reporter = get_reporter()
class ClusterStateController:

is this initialization only once at test/suite/run?

is this initialization only once at test/suite/run?
Poster
Collaborator

Depends on usage. But ideally it should be provided by "session" fixture

Depends on usage. But ideally it should be provided by "session" fixture
abereziny requested review from qa-developers 2023-05-15 08:03:03 +00:00
yadro-vavdeev requested review from yadro-vavdeev 2023-05-15 08:14:06 +00:00
yadro-vavdeev refused to review 2023-05-15 08:20:14 +00:00
yadro-vavdeev requested review from yadro-vavdeev 2023-05-15 08:20:37 +00:00
yadro-vavdeev refused to review 2023-05-15 08:22:26 +00:00
abereziny requested review from qa-committers 2023-05-15 08:24:16 +00:00
yadro-vavdeev approved these changes 2023-05-15 08:26:06 +00:00
abereziny merged commit 997e768e92 into master 2023-05-15 11:12:58 +00:00
abereziny deleted branch feature-move-shared-codebase 2023-05-15 11:12:58 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/qa-developers
No Milestone
No Assignees
4 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#17
There is no content yet.