(varnish plugin) Test case for uint64 value.
This commit is contained in:
parent
e254ce8883
commit
7d06d89868
|
@ -121,6 +121,7 @@ var smOutput = `
|
||||||
MAIN.uptime 895 1.00 Child process uptime
|
MAIN.uptime 895 1.00 Child process uptime
|
||||||
MAIN.cache_hit 95 0.00 Cache hits
|
MAIN.cache_hit 95 0.00 Cache hits
|
||||||
MAIN.cache_miss 5 0.00 Cache misses
|
MAIN.cache_miss 5 0.00 Cache misses
|
||||||
|
MAIN.n_objectcore 18446744073709 . objectcore structs made
|
||||||
MGT.uptime 896 1.00 Management process uptime
|
MGT.uptime 896 1.00 Management process uptime
|
||||||
MGT.child_start 1 0.00 Child process started
|
MGT.child_start 1 0.00 Child process started
|
||||||
MEMPOOL.vbc.live 0 . In use
|
MEMPOOL.vbc.live 0 . In use
|
||||||
|
@ -133,6 +134,7 @@ var parsedSmOutput = map[string]map[string]interface{}{
|
||||||
"uptime": uint64(895),
|
"uptime": uint64(895),
|
||||||
"cache_hit": uint64(95),
|
"cache_hit": uint64(95),
|
||||||
"cache_miss": uint64(5),
|
"cache_miss": uint64(5),
|
||||||
|
"n_objectcore": uint64(18446744073709),
|
||||||
},
|
},
|
||||||
"MGT": map[string]interface{}{
|
"MGT": map[string]interface{}{
|
||||||
"uptime": uint64(896),
|
"uptime": uint64(896),
|
||||||
|
@ -193,7 +195,7 @@ MAIN.sess_queued 0 0.00 Sessions queued for thread
|
||||||
MAIN.sess_dropped 0 0.00 Sessions dropped for thread
|
MAIN.sess_dropped 0 0.00 Sessions dropped for thread
|
||||||
MAIN.n_object 0 . object structs made
|
MAIN.n_object 0 . object structs made
|
||||||
MAIN.n_vampireobject 0 . unresurrected objects
|
MAIN.n_vampireobject 0 . unresurrected objects
|
||||||
MAIN.n_objectcore 0 . objectcore structs made
|
MAIN.n_objectcore 18446744073709 . objectcore structs made
|
||||||
MAIN.n_objecthead 0 . objecthead structs made
|
MAIN.n_objecthead 0 . objecthead structs made
|
||||||
MAIN.n_waitinglist 0 . waitinglist structs made
|
MAIN.n_waitinglist 0 . waitinglist structs made
|
||||||
MAIN.n_backend 1 . Number of backends
|
MAIN.n_backend 1 . Number of backends
|
||||||
|
|
Loading…
Reference in New Issue