✈ ignore result for AtomicResolver test

This commit is contained in:
Godruoyi
2021-04-15 11:50:51 +08:00
parent fa70b61617
commit fdb753bbec

View File

@@ -17,13 +17,13 @@ func TestAtomicResolver(t *testing.T) {
func BenchmarkCombinationParallel(b *testing.B) {
b.RunParallel(func(pb *testing.PB) {
for pb.Next() {
snowflake.AtomicResolver(1)
_, _ = snowflake.AtomicResolver(1)
}
})
}
func BenchmarkAtomicResolver(b *testing.B) {
for i := 0; i < b.N; i++ {
snowflake.AtomicResolver(1)
_, _ = snowflake.AtomicResolver(1)
}
}