Skip to content

Commit 2eac877

Browse files
committed
Satisfy testing on macOS
This skips some tests currently not working on macOS.
1 parent f2617dd commit 2eac877

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

DEVELOP.rst

+9
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ To run against a single interpreter, you can also do::
4040
listening on the default CrateDB transport port to avoid side effects with the
4141
test layer.
4242

43+
In order to run the tests on other operating systems than Linux, invoke::
44+
45+
./bin/test-quick
46+
47+
This will skip some tests currently not working on macOS. It can also be used
48+
to speed up the tests, because the tests for testing the test layer will also
49+
be skipped.
50+
51+
4352
Preparing a Release
4453
===================
4554

base.cfg

+18-1
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,34 @@ eggs = crate
1919
recipe = zc.recipe.egg
2020
eggs = createcoverage
2121

22-
[crate]
22+
[crate:linux]
2323
recipe = hexagonit.recipe.download
2424
url = https://cdn.crate.io/downloads/releases/crate-${versions:crate_server}.tar.gz
2525
strip-top-level-dir = true
2626

27+
[crate:macosx]
28+
recipe = hexagonit.recipe.download
29+
url = https://cdn.crate.io/downloads/releases/cratedb/x64_mac/crate-${versions:crate_server}.tar.gz
30+
strip-top-level-dir = true
31+
32+
[crate:windows]
33+
recipe = hexagonit.recipe.download
34+
url = https://cdn.crate.io/downloads/releases/cratedb/x64_windows/crate-${versions:crate_server}.zip
35+
strip-top-level-dir = true
36+
2737
[test]
2838
relative-paths=true
2939
recipe = zc.recipe.testrunner
3040
defaults = ['--auto-color']
3141
eggs = crate [test,sqlalchemy]
3242

43+
[test-quick]
44+
relative-paths=true
45+
working-directory = ${buildout:directory}
46+
recipe = zc.recipe.testrunner
47+
defaults = ['--auto-color', '--ignore_dir', 'testing', '--test', '!test_no_retry_on_read_timeout|test_client_threaded|test_client_keepalive|test_username|test_default_schema']
48+
eggs = crate [test,sqlalchemy]
49+
3350
[linter]
3451
recipe = zc.recipe.egg:script
3552
eggs = flake8

versions.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ coverage = 5.0.3
1515
crate-docs-theme = 0.5.0
1616
createcoverage = 1.5
1717
docutils = 0.12
18-
hexagonit.recipe.download = 1.7
18+
hexagonit.recipe.download = 1.7.1
1919
py = 1.4.26
2020
tox = 3.7.0
2121
twine = 1.8.1

0 commit comments

Comments
 (0)