Commit Graph

22 Commits

Author SHA1 Message Date
8582674b44
Refactoring 2022-12-20 13:55:09 +01:00
f7675be834
Use multiple DB connections but retry failed requests 2022-12-20 09:52:33 +01:00
00d77e508d
Fix TestSendParallel by using only a single DB connection
see https://github.com/mattn/go-sqlite3/issues/274
see https://github.com/mattn/go-sqlite3/issues/209
see https://stackoverflow.com/questions/32479071/sqlite3-error-database-is-locked-in-golang
2022-12-20 09:22:18 +01:00
0750bf1d8a
cleanup test local-url 2022-12-14 17:02:18 +01:00
ef1844109f
Tests[SendToManualChannel] 2022-12-14 16:38:01 +01:00
f1e87170f0
Tests[SendToNewChannel] 2022-12-14 14:30:34 +01:00
66ecad27a7
Only soft-delete messages 2022-12-14 12:29:55 +01:00
26cd1533b4
Tests[SearchMessageFTSSimple] 2022-12-11 02:47:23 +01:00
06788c3e12
TestData-Factory [WIP] 2022-12-09 00:40:50 +01:00
edfcdd1135
TestData-Factory [WIP] 2022-12-09 00:13:10 +01:00
8db0fa37db
Move to own sql abstraction on top of jmoiron/sqlx 2022-12-07 22:11:44 +01:00
234188c4d4
Tests[SendCompat] 2022-12-01 14:45:31 +01:00
12db23d076
Improve test performance (better waiting logic until http server is up) 2022-11-30 23:46:28 +01:00
fd182f0abb
Fix timeout in ReadSchema/GetMeta etc method (fixes /health call taking 2 seconds) 2022-11-30 22:59:33 +01:00
7eab74e65c
Tests[SendWithTimestamp, SendInvalidTimestamp] 2022-11-30 22:29:12 +01:00
e0ecd4d9ff
Tests[SendInvalidPriority] 2022-11-30 21:51:48 +01:00
1ca09c16d3
Tests[SendWithPriority] 2022-11-30 21:39:14 +01:00
a7df476e79
Tests[SendIdempotent] 2022-11-30 21:17:29 +01:00
11a6517156
Tests[SendContentMessage] 2022-11-30 20:39:04 +01:00
7aa7eb234d
Tests[SendSimpleMessageQuery, SendSimpleMessageForm, SendSimpleMessageFormAndQuery, SendSimpleMessageJSONAndQuery] 2022-11-30 20:23:31 +01:00
62d7df9710
Tests[TestSendSimpleMessageJSON] 2022-11-30 17:58:04 +01:00
7a11b2c76f
Tests[UpdateUsername, RecreateKeys, DeleteUser] 2022-11-30 13:57:55 +01:00