This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
dex/storage/sql
Stephan Renatus 73fdf4f75b
storage/sql/postgres: expose stdlib tunables, set them for tests
- adapted TestUnmarshalConfig to ensure the fields are read in
- added a test to see that at least MaxOpenConns works:
  - this is only exposed through (*db).Stats() in go 1.11, so this test
    has a build tag
  - the other two configurables can't be read back, so we've got to
    trust that the mechanism works given the one instance that's tested..

Signed-off-by: Stephan Renatus <srenatus@chef.io>
2018-11-30 09:55:01 +01:00
..
config_test.go pg: support host:port for backwards-compatibility 2018-11-20 10:22:39 -05:00
config.go storage/sql/postgres: expose stdlib tunables, set them for tests 2018-11-30 09:55:01 +01:00
crud_test.go storage/sql: add a SQL storage implementation 2016-10-03 12:48:19 -07:00
crud.go Revert "retry on serialization errors" 2018-11-29 08:24:13 +01:00
migrate_test.go : update {S->s}irupsen/logrus 2017-07-25 13:46:44 -07:00
migrate.go storage: add connector object to backend storage. 2017-03-28 14:12:38 -07:00
postgres_test.go storage/sql/postgres: expose stdlib tunables, set them for tests 2018-11-30 09:55:01 +01:00
sql_test.go storage/sql: add a SQL storage implementation 2016-10-03 12:48:19 -07:00
sql.go Revert "retry on serialization errors" 2018-11-29 08:24:13 +01:00