Commit graph

1972 commits

Author SHA1 Message Date
Noah Hilverling
fed93f199d Reduce test times 2019-03-05 10:39:54 +01:00
Noah Hilverling
f2f4398098 Redis: Fix race condition 2019-03-04 18:11:20 +01:00
Noah Hilverling
8f6d12c09e Redis: Add more tests 2019-03-04 18:11:12 +01:00
Noah Hilverling
4f09b5b5e8 Remove Redis testing mocks 2019-03-04 18:11:00 +01:00
Noah Hilverling
debeb88de6 Fix imports 2019-03-04 18:10:37 +01:00
Jean Flach
e5b439eab9 Rewrite pool 2019-03-04 16:24:11 +01:00
Noah Hilverling
ca68b997d9 Fix typo 2019-03-04 15:44:07 +01:00
Noah Hilverling
d090d24261 Redis: Add first tests 2019-03-04 15:42:11 +01:00
Noah Hilverling
995b8e49ee Redis: Use atomic counters to prevent race conditions 2019-03-04 15:41:54 +01:00
Noah Hilverling
3296e36f8e Change tests to be compatible with icingadb-connection 2019-03-04 13:59:40 +01:00
Noah Hilverling
615d255f7e NewRDBWrapper() should create Redis-Client 2019-03-04 13:29:02 +01:00
Noah Hilverling
dce9c0fa4f Redis: Check for connection on NewRDBWrapper() 2019-03-04 12:18:48 +01:00
Jean Flach
a5568db958 Code style and documentation 2019-03-04 11:41:18 +01:00
Noah Hilverling
cb018cea9d Fix Gitlab-CI 2019-03-04 11:39:49 +01:00
Noah Hilverling
842cf3cec9 Use project global credentials 2019-03-04 11:37:03 +01:00
Jean Flach
60541703bf Close channels 2019-03-04 11:05:40 +01:00
Jean Flach
c2b435499d Initial commit 2019-03-04 11:03:50 +01:00
Noah Hilverling
93198414a0 Fix coverage link 2019-02-26 15:10:37 +01:00
Noah Hilverling
a245049ffe Add temporary mysql-server to test/coverage-containers 2019-02-26 15:05:05 +01:00
Jean Flach
400c9b28c0 Add repsonsibility test 2019-02-26 15:00:06 +01:00
Jean Flach
26a0211054 Use easier types 2019-02-26 14:58:49 +01:00
Noah Hilverling
789e513217 Add coverage report 2019-02-26 14:42:35 +01:00
Noah Hilverling
6299908ed3 Add coverage.sh 2019-02-26 14:29:33 +01:00
Jean Flach
640d8132a2 Refactor handle responsibility 2019-02-26 14:28:38 +01:00
Noah Hilverling
a776d64f9c Use Error/NoError instead of NotNil/Nil 2019-02-26 14:28:36 +01:00
Noah Hilverling
39e136f1a8 Add SqlTransaction() Test 2019-02-26 14:28:11 +01:00
Noah Hilverling
92e81ade15 Add prometheus - WIP 2019-02-26 14:27:06 +01:00
Jean Flach
2ccabb2517 Store env with HA object 2019-02-26 14:24:18 +01:00
Noah Hilverling
137f77eef6 Fix race condition 2019-02-26 13:54:23 +01:00
Jean Flach
924fb4b953 Update with connection 2019-02-26 13:28:39 +01:00
Noah Hilverling
d8e6e8955d Add more MySQL tests 2019-02-26 11:15:43 +01:00
Noah Hilverling
ed6224e442 Fix transaction 2019-02-26 11:15:18 +01:00
Noah Hilverling
fce5b00a4f Add tests 2019-02-26 09:37:21 +01:00
Noah Hilverling
53486bfdb0 Refactor MySQL functions that use Tx/DB and Quiet/Non-Quiet 2019-02-26 09:26:39 +01:00
Jean Flach
789545f257 Rename package 2019-02-26 09:23:12 +01:00
Jean Flach
ab777d470e Add clean up test 2019-02-25 16:29:08 +01:00
Jean Flach
22253621fa Fix redis use 2019-02-25 16:28:42 +01:00
Noah Hilverling
19b81b499e Simplify interfaces 2019-02-25 16:16:29 +01:00
Jean Flach
be85da4250 Update libs 2019-02-25 14:29:49 +01:00
Noah Hilverling
b658a62845 Add DbClientOrTransaction interface to be able to use FetchAll on Tx and Db 2019-02-25 14:28:09 +01:00
Noah Hilverling
c99ea62987 Fix race condition 2019-02-25 13:33:12 +01:00
Noah Hilverling
233decef22 Temp fix for TestNewDBWrapper() 2019-02-25 13:02:11 +01:00
Noah Hilverling
1bfad93d99 Add benchmark.go 2019-02-25 11:27:16 +01:00
Noah Hilverling
13d53c44e0 Initial commit 2019-02-25 11:27:01 +01:00
Noah Hilverling
3c7445e4c9 Use icingadb-utils-lib for benchmarks 2019-02-25 11:08:06 +01:00
Noah Hilverling
fe7e0beb01 Add first tests 2019-02-25 10:35:00 +01:00
Noah Hilverling
daff13165d Add WithRetry() to DBWrapper 2019-02-25 10:33:39 +01:00
Noah Hilverling
b3afe0385a DBWrapper: Test connection in NewDBWrapper() 2019-02-25 10:33:17 +01:00
Noah Hilverling
7bcba36c6e Add Redis PubSub 2019-02-25 09:54:03 +01:00
Noah Hilverling
b6c92fc883 Implement DbTransaction interface to increase testability 2019-02-25 09:25:49 +01:00