Commit graph

225 commits

Author SHA1 Message Date
Sean Corfield
150a4aa605
only run xtdb tests on jdk21+
Signed-off-by: Sean Corfield <sean@corfield.org>
2025-04-24 18:04:14 -04:00
Sean Corfield
16c1faeaf6
more test cleanup
Signed-off-by: Sean Corfield <sean@corfield.org>
2025-03-17 17:49:46 -07:00
Sean Corfield
d1115c8c42
switch quoted tests to core lazytest dsl
Signed-off-by: Sean Corfield <sean@corfield.org>
2025-03-17 17:23:12 -07:00
Sean Corfield
60503dac03
put the refers back in! oops!
Signed-off-by: Sean Corfield <sean@corfield.org>
2025-03-12 19:09:16 -07:00
Sean Corfield
a829074b99
clean up some tests
Signed-off-by: Sean Corfield <sean@corfield.org>
2025-03-12 18:52:51 -07:00
Sean Corfield
1642cc04ca
update to lazytest 1.6.1
revert throws? back to thrown?

Signed-off-by: Sean Corfield <sean@corfield.org>
2025-03-10 10:13:33 -07:00
Sean Corfield
2214e06cfa
restore ns require layout
Signed-off-by: Sean Corfield <sean@corfield.org>
2025-03-07 17:43:44 -08:00
Sean Corfield
0d7d58fece
migrate test suite to lazytest
no longer tests against clojure 1.10 (issue created)

Signed-off-by: Sean Corfield <sean@corfield.org>
2025-03-07 17:31:13 -08:00
Sean Corfield
22e96dcb84
fixes #181 for logging
Signed-off-by: Sean Corfield <sean@corfield.org>
2025-02-14 13:38:03 -08:00
Sean Corfield
9ed335dc8d
address #181 (again!)
Signed-off-by: Sean Corfield <sean@corfield.org>
2025-02-13 17:41:27 -08:00
Sean Corfield
e6d1abf3ec
addresses #295
Signed-off-by: Sean Corfield <sean@corfield.org>
2025-02-13 16:44:56 -08:00
Sean Corfield
2dc72d9254
beef up boolean tests; add xtdb into them
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-12-14 12:16:19 -08:00
Sean Corfield
b981357d47
prep for 1.3.981; test against xtdb nightly
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-12-13 22:57:40 -08:00
Sean Corfield
4db63f6122
breaking change in beta 4: :dbname "xtdb" now required
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-12-10 15:54:58 -08:00
Sean Corfield
80748a9593 Merge branch 'develop' into xtdb-testing 2024-12-02 19:01:43 -08:00
Sean Corfield
585a7120a9
switch asserts to validation / exceptions
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-12-01 13:44:38 -08:00
Sean Corfield
cad6462c53
clean up nses
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-11-24 09:31:34 -08:00
Sean Corfield
05cfe1f3fa
XTDB 0 failures!
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-11-24 09:27:49 -08:00
Sean Corfield
564c43bc79
78 failures, 1 errors.
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-11-24 00:52:05 -08:00
Sean Corfield
5f0c93642a
more xtdb test progress
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-11-24 00:26:41 -08:00
Sean Corfield
0c50cf28b5
wip xtdb testing
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-11-23 23:56:44 -08:00
Sean Corfield
ecd950d009
remove experimental name-fn option
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-11-23 19:43:54 -08:00
Sean Corfield
b0a640a101
fixes #282 by tracking raw Connection objects for TXs.
this no longer checks TX nesting for DataSource-based TXs, but instead uses the Connection-based implementation directly.

raw Connection objects are tracked in a dynamic set.

thanks to [mbezjak](https://github.com/mbezjak) for the core of the implementation.

Signed-off-by: Sean Corfield <sean@corfield.org>
2024-11-20 16:49:39 -08:00
Sean Corfield
03117d1160
add date of last release; update copyright years
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-11-09 16:38:25 -08:00
Sean Corfield
b2656120b4
handle "bug fix" in PG 4.7.4
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-09-25 14:29:31 -07:00
Sean Corfield
31ad33dc85
clojure 1.11.4 & 1.12.0 rc 1
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-08-03 12:26:50 -07:00
Sean Corfield
1bd4bdedce
fixes #269 by adding :name-fn option
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-06-29 13:09:13 -07:00
Sean Corfield
9e914bc5e1
split test/thinking code into src/test
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-05-09 12:33:10 -07:00
Sean Corfield
87ea23271e
continuing deferred thought experiment
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-05-09 00:44:34 -07:00
Sean Corfield
eb7dafbe58
deferred thought experiment
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-05-08 23:39:34 -07:00
Sean Corfield
3042079138
fix #274 by adding aggregate-by-keys
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-03-15 17:54:03 -07:00
Sean Corfield
d6fe4c1577 fix #264 2023-11-10 13:26:21 -08:00
Sean Corfield
04588e8ef2 update tests for more recent sqlite
in particular, adding RETURNING * to insert, to get keys back
2023-09-24 16:20:49 -07:00
Sean Corfield
9ea5b172bb add on-connection+options #256 2023-08-09 22:47:39 -07:00
Sean Corfield
044de70b49 address #256 by adding with-transaction+options 2023-08-09 19:35:25 -07:00
Sean Corfield
06f9baea01 fix #254 by adding active-tx? 2023-06-10 11:24:07 -07:00
Sean Corfield
0d5758d839 update test dep loading to Clojure 1.12 Alpha 2 2023-04-14 16:08:22 -07:00
Sean Corfield
3d512a8f04 fix #248 by supporting :port :none 2023-04-13 23:53:45 -07:00
Sean Corfield
70a5db8b29 fix #243 by producing keywords (from properties) 2023-03-12 16:59:24 -07:00
Sean Corfield
dacf1b3904 address #226 2022-11-04 22:17:04 -07:00
Sean Corfield
28ab698fda
Merge pull request #231 from seancorfield/issue-229
fix #229
2022-10-09 00:05:15 -07:00
Sean Corfield
a27aa70ff4 remove problematic fold test
n = 1 works on larger, faster machines but doesn't work reliably locally
2022-10-09 00:04:38 -07:00
Sean Corfield
dd040150fc fix #229 2022-10-08 23:51:59 -07:00
Sean Corfield
961b880e08 fix #227 2022-09-23 10:59:41 -07:00
Sean Corfield
e12342dec1 fix #222 by using conj instead of cons 2022-09-11 11:37:59 -07:00
Sean Corfield
d83ab07f9f fix #215 by dropping JDK8 and updating drivers
Note: disabled HikariCP testing on MS SQL until I figure out non-SSL connections
2022-08-30 23:06:17 -07:00
Sean Corfield
af57829fcb fix #218 by moving the protocol option 2022-08-28 21:30:26 -07:00
Sean Corfield
6ea7150326 fix #211 2022-08-14 10:47:52 -07:00
Sean Corfield
3ed1f4b99c expand docs/tests for #206 2022-05-20 11:53:53 -07:00
Ryan Schmukler
003d47ea5e feat: insert-multi! :batch option
Adds support for using a `:batch` option to make `insert-multi!` use
`execute-batch!` instead of `execute!`.
2022-05-20 12:53:23 -05:00