mirror of
https://github.com/docker/cli.git
synced 2026-09-28 02:06:53 -04:00
fix typo
fix typo I found AMAP in integration-cli/* fix typo mentioned by Allencloud Signed-off-by: Aaron.L.Xu <likexu@harmonycloud.cn> Upstream-commit: 40af5691648c5b9d07b1231e3ed3be29fd66521a Component: engine
This commit is contained in:
@@ -210,7 +210,7 @@ func TestMountedFalseResponse(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestMountedTrueReponse(t *testing.T) {
|
||||
func TestMountedTrueResponse(t *testing.T) {
|
||||
d := newDriver(t)
|
||||
defer os.RemoveAll(tmp)
|
||||
defer d.Cleanup()
|
||||
@@ -744,10 +744,10 @@ func BenchmarkConcurrentAccess(b *testing.B) {
|
||||
defer os.RemoveAll(tmp)
|
||||
defer d.Cleanup()
|
||||
|
||||
numConcurent := 256
|
||||
numConcurrent := 256
|
||||
// create a bunch of ids
|
||||
var ids []string
|
||||
for i := 0; i < numConcurent; i++ {
|
||||
for i := 0; i < numConcurrent; i++ {
|
||||
ids = append(ids, stringid.GenerateNonCryptoID())
|
||||
}
|
||||
|
||||
@@ -762,7 +762,7 @@ func BenchmarkConcurrentAccess(b *testing.B) {
|
||||
parent := ids[1]
|
||||
ids = append(ids[2:])
|
||||
|
||||
chErr := make(chan error, numConcurent)
|
||||
chErr := make(chan error, numConcurrent)
|
||||
var outerGroup sync.WaitGroup
|
||||
outerGroup.Add(len(ids))
|
||||
b.StartTimer()
|
||||
|
||||
Reference in New Issue
Block a user