Update function name for TestCalculBlockIO

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
yuexiao-wang 2016-11-09 17:43:10 +08:00
parent 01de03c7d0
commit 18caa28b66
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import (
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
) )
func TestCalculBlockIO(t *testing.T) { func TestCalculateBlockIO(t *testing.T) {
blkio := types.BlkioStats{ blkio := types.BlkioStats{
IoServiceBytesRecursive: []types.BlkioStatEntry{{8, 0, "read", 1234}, {8, 1, "read", 4567}, {8, 0, "write", 123}, {8, 1, "write", 456}}, IoServiceBytesRecursive: []types.BlkioStatEntry{{8, 0, "read", 1234}, {8, 1, "read", 4567}, {8, 0, "write", 123}, {8, 1, "write", 456}},
} }