Source
test case Value target time is with future timestamp and there are more values with future timestamp for seconds
---
# TC0
# Test if numeric (float) data is properly returned.
test case Get numeric (float) type values
in
history
itemid1
value type ITEM_VALUE_TYPE_FLOAT
data
&row1
value0.1
ts 2017-01-10 10 00 00.000000000 +0000
&row2
value0.2
ts 2017-01-10 10 00 30.000000000 +0000
&row3
value0.3
ts 2017-01-10 10 00 30.500000000 +0000
&row4
value0.4
ts 2017-01-10 10 01 00.000000000 +0000
&row5
value0.5
ts 2017-01-10 10 01 30.000000000 +0000
test
time 2017-01-10 10 10 00.000000000 +0000
itemid1
value type ITEM_VALUE_TYPE_FLOAT
seconds0
count2
end 2017-01-10 10 01 00.999999999 +0000
out
values
*row4
*row3
cache
items
itemid1
value type ITEM_VALUE_TYPE_FLOAT
data
*row2
*row3
*row4
*row5
status
active_range571
values_total4
db_cached_from 2017-01-10 10 00 30.000000000 +0000
mode ZBX_VC_MODE_NORMAL
hits0
misses2
---
# TC1
# Test if character data is properly returned.
test case Get character type values
in
history
itemid1
value type ITEM_VALUE_TYPE_STR
data
&row1
value value 1
ts 2017-01-10 10 00 00.000000000 +0000