Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
fix test TestContainer_GetRSU
Browse files Browse the repository at this point in the history
  • Loading branch information
zaibon committed Nov 12, 2020
1 parent 95543aa commit 2d594c9
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions models/generated/workloads/container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestContainer_GetRSU(t *testing.T) {
rsu: RSU{
CRU: 1,
MRU: 1,
SRU: 0.25,
SRU: 0,
},
},
{
Expand All @@ -35,7 +35,7 @@ func TestContainer_GetRSU(t *testing.T) {
rsu: RSU{
CRU: 1,
MRU: 1,
SRU: 1,
SRU: 0,
},
},
{
Expand All @@ -49,7 +49,7 @@ func TestContainer_GetRSU(t *testing.T) {
CRU: 4,
MRU: 2,
SRU: 0,
HRU: 10,
HRU: 0,
},
},
{
Expand All @@ -63,7 +63,21 @@ func TestContainer_GetRSU(t *testing.T) {
CRU: 1,
MRU: 0.1953,
SRU: 0,
HRU: 9.7656,
HRU: 0,
},
},
{
capcity: ContainerCapacity{
Cpu: 1,
Memory: 200,
DiskSize: 52224,
DiskType: DiskTypeSSD,
},
rsu: RSU{
CRU: 1,
MRU: 0.1953,
SRU: 1,
HRU: 0,
},
},
}
Expand Down

0 comments on commit 2d594c9

Please sign in to comment.