perkeep/pkg/test
mpl e007f66b76 vendor: update github.com/go-sql-driver/mysql
To rev 99ff426eb706cffe92ff3d058e168b278cabf7c7

To support the new default authentication plugin in MySQL 8.

Interestingly, the update also revealed an error unseen so far.
Each of the pkg/sorted/mysql test uses a docker container. If we did not
kill the container at the end of a test, docker would use a new,
different, IP address for each mysql container (which would dodge the
error I'm about to mention). But since we do clean up and remove the
container for each test, then each test gets a container with the same
(first in the range) IP address, because docker "thinks" everything
about the previous container was properly removed.
However, it turns out that since we had forgotten to tell the client
code to close the connection to the mysql server, then the server-side
IP:port is still seen as occupied (even though the server is gone). And
since the second (or nth) test client tries connecting to the same
IP:port, the connection fails.

TL;DR: we also need to close the connection to the DB on the client
side, even though the server in container goes away after each test.

Fixes #1114

Change-Id: I76ce4ac2ee7703f92a9431116cd82ab75da541f7
2018-08-07 21:20:11 +02:00
..
asserts all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
dockertest vendor: update github.com/go-sql-driver/mysql 2018-08-07 21:20:11 +02:00
integration pkg/client: move upload test to pkg/test/integration 2018-06-27 21:08:46 +02:00
testdata all: Windows fixes (don't listen on file descriptors in test.World, etc) 2018-05-01 21:38:19 -07:00
blob.go blobserver, all: add contexts to ReceiveBlob, Fetch & million resulting deps 2018-01-18 16:22:16 -08:00
diff.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
doc.go all: more renaming of Camlistore to Perkeep 2018-01-30 03:02:56 -08:00
fetcher.go blobserver: add context to BlobRemover 2018-01-19 09:54:46 -08:00
fetcher_test.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
loader.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
test.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
test_test.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
testdep.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
wait.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
world.go pkg/test: append .exe to bin name on Windows 2018-05-17 21:10:21 +02:00