mirror of https://github.com/perkeep/perkeep.git
client: fix test failure
Change-Id: I811b572c79e7e3797a23376bf01b90c49382d7fd
This commit is contained in:
parent
0cbf38b29a
commit
a40078e3b6
|
@ -32,9 +32,9 @@ func (lt *lmdbTest) run(t *testing.T) {
|
||||||
sendTestBlobs(srcBlobs, lt.source)
|
sendTestBlobs(srcBlobs, lt.source)
|
||||||
sendTestBlobs(destBlobs, lt.dest)
|
sendTestBlobs(destBlobs, lt.dest)
|
||||||
|
|
||||||
missing := make(chan blobref.SizedBlobRef, 100)
|
missing := make(chan blobref.SizedBlobRef)
|
||||||
got := make([]string, 0)
|
got := make([]string, 0)
|
||||||
go ListMissingDestinationBlobs(missing, srcBlobs, destBlobs)
|
go ListMissingDestinationBlobs(missing, nil, srcBlobs, destBlobs)
|
||||||
for sb := range missing {
|
for sb := range missing {
|
||||||
got = append(got, sb.BlobRef.String())
|
got = append(got, sb.BlobRef.String())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue