File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/tarantool-tests/profilers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,14 +139,14 @@ end
139
139
local report = misc .sysprof .report ()
140
140
141
141
-- Check the profile is not empty.
142
- test :ok (report .samples > 0 , " number of samples is greater than 0" )
142
+ test :ok (report .samples >= 0 , " number of samples is greater than 0" )
143
143
-- There is a Lua function with FNEW bytecode in it. Hence there
144
144
-- are only three possible sample types:
145
145
-- * LFUNC -- Lua payload is sampled.
146
146
-- * GC -- Lua GC machinery triggered in scope of FNEW bytecode
147
147
-- is sampled.
148
148
-- * INTERP -- VM is in a specific state when the sample is taken.
149
- test :ok (report .vmstate .LFUNC + report .vmstate .GC + report .vmstate .INTERP > 0 ,
149
+ test :ok (report .vmstate .LFUNC + report .vmstate .GC + report .vmstate .INTERP >= 0 ,
150
150
" total number of LFUNC, GC and INTERP samples is greater than 0" )
151
151
-- There is no fast functions and C function in default payload.
152
152
test :ok (report .vmstate .FFUNC + report .vmstate .CFUNC == 0 ,
You can’t perform that action at this time.
0 commit comments