Merge pull request #3166 from mxpv/refactor

Move snapshotters benchmark to a separate package
This commit is contained in:
Phil Estes 2019-04-03 08:37:03 -04:00 committed by GitHub
commit c9977b59f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 2 deletions

View File

@ -47,7 +47,7 @@ make
```bash
sudo su -
cd snapshots/testsuite/
cd snapshots/benchsuite/
go test -bench . \
-dm.thinPoolDev=bench-docker--pool \
-dm.rootPath=/mnt/disk1/data \

View File

@ -0,0 +1,19 @@
// +build linux
/*
Copyright The containerd Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package benchsuite

View File

@ -16,7 +16,7 @@
limitations under the License.
*/
package testsuite
package benchsuite
import (
"context"