Move shared code to testlib #17
No reviewers
Labels
No Label
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 Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-testlib#17
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "abereziny/frostfs-testlib:feature-move-shared-codebase"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Signed-off-by: Andrey Berezin a.berezin@yadro.com
@ -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?
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?
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?
Depends on usage. But ideally it should be provided by "session" fixture