Skip to content

Commit e03aed6

Browse files
committed
Satisfy testing on macOS
This skips some tests currently not working on macOS.
1 parent 0ad90b0 commit e03aed6

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-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

+19-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ extends = versions.cfg
44
versions = versions
55
show-picked-versions = true
66
parts = test
7+
test-quick
78
crate
89
scripts
910
coverage
@@ -19,17 +20,34 @@ eggs = crate
1920
recipe = zc.recipe.egg
2021
eggs = createcoverage
2122

22-
[crate]
23+
[crate:linux]
2324
recipe = hexagonit.recipe.download
2425
url = https://cdn.crate.io/downloads/releases/crate-${versions:crate_server}.tar.gz
2526
strip-top-level-dir = true
2627

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

44+
[test-quick]
45+
relative-paths=true
46+
working-directory = ${buildout:directory}
47+
recipe = zc.recipe.testrunner
48+
defaults = ['--auto-color', '--ignore_dir', 'testing', '--test', '!test_no_retry_on_read_timeout|test_client_threaded|test_client_keepalive|test_username|test_default_schema']
49+
eggs = crate [test,sqlalchemy]
50+
3351
[linter]
3452
recipe = zc.recipe.egg:script
3553
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)