-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
area: control-planeAffects the metal-stack control-plane area.Affects the metal-stack control-plane area.
Description
Description
Regression of #632?
--- FAIL: TestPartitionCapacity (0.24s)
--- FAIL: TestPartitionCapacity/non_filter_considers_all_machines (0.03s)
partition-service_test.go:919: diff (-want +got):
[]*v1.PartitionCapacity{
&{
Common: v1.Common{
- Identifiable: v1.Identifiable{ID: "partition-a"},
+ Identifiable: v1.Identifiable{ID: "partition-b"},
Describable: {Name: &"", Description: &""},
},
ServerCapacities: v1.ServerCapacities{
&{
Size: "size-a",
- Total: 3,
+ Total: 1,
- PhonedHome: 3,
+ PhonedHome: 1,
Waiting: 0,
Other: 0,
OtherMachines: nil,
- Allocated: 3,
+ Allocated: 1,
Allocatable: 0,
Free: 0,
Unavailable: 0,
- Faulty: 1,
+ Faulty: 0,
- FaultyMachines: []string{"1"},
+ FaultyMachines: nil,
Reservations: 0,
UsedReservations: 0,
RemainingReservations: 0,
},
- &{
- Size: "size-b",
- Total: 1,
- PhonedHome: 1,
- Allocated: 1,
- Faulty: 1,
- FaultyMachines: []string{"4"},
- },
},
},
&{
Common: v1.Common{
- Identifiable: v1.Identifiable{ID: "partition-b"},
+ Identifiable: v1.Identifiable{ID: "partition-a"},
Describable: {Name: &"", Description: &""},
},
ServerCapacities: v1.ServerCapacities{
&{
Size: "size-a",
- Total: 1,
+ Total: 3,
- PhonedHome: 1,
+ PhonedHome: 3,
Waiting: 0,
Other: 0,
OtherMachines: nil,
- Allocated: 1,
+ Allocated: 3,
Allocatable: 0,
Free: 0,
Unavailable: 0,
- Faulty: 0,
+ Faulty: 1,
- FaultyMachines: nil,
+ FaultyMachines: []string{"1"},
Reservations: 0,
UsedReservations: 0,
RemainingReservations: 0,
},
+ &{
+ Size: "size-b",
+ Total: 1,
+ PhonedHome: 1,
+ Allocated: 1,
+ Faulty: 1,
+ FaultyMachines: []string{"4"},
+ },
},
},
}
Metadata
Metadata
Assignees
Labels
area: control-planeAffects the metal-stack control-plane area.Affects the metal-stack control-plane area.
Type
Projects
Status
No status