[#166] netmap: tests moved from JSON to YML #192
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
pool
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
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#192
Loading…
Reference in a new issue
No description provided.
Delete branch "achuprov/frostfs-sdk-go:yml_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?
Close: #166
Signed-off-by: Alexander Chuprov a.chuprov@yadro.com
300f659b12
todb614e4908
db614e4908
tof97530c3d8
WIP: [#166] netmap: tests moved from JSON to YMLto [#166] netmap: tests moved from JSON to YML@ -40,3 +60,3 @@
func TestPlacementPolicy_Interopability(t *testing.T) {
const testsDir = "./json_tests"
const testsDir = "./yml_tests"
So file should be named
natmap/yml_test.go
?or
test_marshal.go
?Commits have the same descriptions. Can you describe a bit more what was done in scope each of them?
@ -163,2 +183,4 @@
}
}
type tempPlacementPolicy struct {
Maybe it is better to move all the structs/func related to
yml
to separate file or renamed this one?f97530c3d8
to80207ab7df
80207ab7df
toa05ee97158
@ -0,0 +45,4 @@
func convertStringToOperation(opStr string) netmap.Operation {
switch strings.ToUpper(opStr) {
case "EQ":
How about to initialize map out of the function and just take the value from it?
@ -0,0 +39,4 @@
value: ''
filters:
- name: StorageSSD
key: ''
Can empty values be omitted?
Can empty values be omitted?
fixed
a05ee97158
to828009e204
Comments should start with a verb in imperative:
tests moved
->Move tests
.828009e204
to03d35dd1f3