예제 #1
0
func TestPercentiles(t *testing.T) {
	N := 100
	testDriver := &cacheTestStorageDriver{}
	backend := memory.New(N*2, N*2)
	testDriver.base = MemoryCache(N, N, backend)
	test.StorageDriverTestPercentiles(testDriver, t)
}
예제 #2
0
func TestPercentiles(t *testing.T) {
	N := 100
	backend := memory.New(N*2, N*2)
	driver := MemoryCache(N, N, backend)
	testDriver := test.TestStorageDriver{Driver: driver, StatsEq: test.DefaultStatsEq}
	test.StorageDriverTestPercentiles(testDriver, t)
}
예제 #3
0
func TestPercentiles(t *testing.T) {
	N := 100
	driver := New(N, N)
	testDriver := test.TestStorageDriver{Driver: driver, StatsEq: test.DefaultStatsEq}
	test.StorageDriverTestPercentiles(testDriver, t)
}
예제 #4
0
func TestPercentiles(t *testing.T) {
	N := 100
	testDriver := &memoryTestStorageDriver{}
	testDriver.base = New(N, N)
	test.StorageDriverTestPercentiles(testDriver, t)
}
예제 #5
0
func TestPercentiles(t *testing.T) {
	N := 100
	driver := New(N, N)
	test.StorageDriverTestPercentiles(driver, t)
}
예제 #6
0
func TestPercentiles(t *testing.T) {
	N := 100
	backend := memory.New(N*2, N*2)
	driver := MemoryCache(N, N, backend)
	test.StorageDriverTestPercentiles(driver, t)
}