perkeep/pkg/sorted
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
..
buffer Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
kvfile Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
kvtest Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
leveldb Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
mongo all: update mongo to latest version 2018-01-03 10:49:07 -08:00
mysql vendor: update github.com/go-sql-driver/mysql 2018-08-07 21:20:11 +02:00
postgres sorted/postgres: create databases on boot 2018-01-21 18:22:00 -06:00
sqlite pkg/sorted/sqlite: default to using journal_mode=WAL 2018-05-06 01:47:07 -07:00
sqlkv pkg/sorted/sqlkv: make multiple close safe 2018-04-23 17:44:59 -07:00
kv.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
mem.go all: more renaming of Camlistore to Perkeep 2018-01-30 03:02:56 -08:00
mem_test.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00