Skip to content

Commit 017e85c

Browse files
committed
cgroupv2: Update basic-v2 test samples to pass integration
1 parent dee5088 commit 017e85c

File tree

1 file changed

+11
-1
lines changed
  • cmd/metrics-node-sampler/integration/testdata/basic-v2

1 file changed

+11
-1
lines changed

cmd/metrics-node-sampler/integration/testdata/basic-v2/expected.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,11 @@
156156
{
157157
"aggregationLevel": "max.slice",
158158
"cpuCoresNanoSec": [
159+
"2000000",
159160
"2000000"
160161
],
161162
"memoryBytes": [
163+
"0",
162164
"0"
163165
],
164166
"avgCPUCoresNanoSec": "2000000",
@@ -167,12 +169,20 @@
167169
{
168170
"aggregationLevel": "min.slice",
169171
"cpuCoresNanoSec": [
172+
"0",
173+
"0",
174+
"0",
175+
"1000000",
170176
"1000000"
171177
],
172178
"memoryBytes": [
179+
"0",
180+
"0",
181+
"0",
182+
"0",
173183
"0"
174184
],
175-
"avgCPUCoresNanoSec": "1000000",
185+
"avgCPUCoresNanoSec": "400000",
176186
"avgMemoryBytes": "0"
177187
},
178188
{

0 commit comments

Comments
 (0)