remove redundant type conversion (#8692)

Signed-off-by: Christina Jing (荆丽娜) <jinglina_lc@inspur.com>
This commit is contained in:
jinglina 2021-04-05 19:30:48 +08:00 committed by GitHub
parent 51df756893
commit 431ea75a11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ func TestTailSamples(t *testing.T) {
sample := enc.Samples([]record.RefSample{
{
Ref: uint64(inner),
T: int64(now.UnixNano()) + 1,
T: now.UnixNano() + 1,
V: float64(i),
},
}, nil)