Skip to content

Commit f32c5e4

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

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

DEVELOP.rst

Lines changed: 9 additions & 0 deletions
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-macos
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

Lines changed: 18 additions & 1 deletion
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-macos]
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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy