Skip to content

Commit 1b7bbb6

Browse files
committed
Satisfy testing on macOS
This skips some tests currently not working on macOS.
1 parent 67ec8e3 commit 1b7bbb6

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

DEVELOP.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,16 @@ To run against a single interpreter, you can also invoke::
5151
are listening on the default CrateDB transport port to avoid side effects with
5252
the test layer.
5353

54-
Preparing a release
54+
In order to run the tests on other operating systems than Linux, invoke::
55+
56+
./bin/test-quick
57+
58+
This will skip some tests currently not working on macOS. It can also be used
59+
to speed up the tests, because the tests for testing the test layer will also
60+
be skipped.
61+
62+
63+
Preparing a Release
5564
===================
5665

5766
To create a new release, you must:

base.cfg

Lines changed: 8 additions & 0 deletions
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
@@ -40,6 +41,13 @@ recipe = zc.recipe.testrunner
4041
defaults = ['--auto-color']
4142
eggs = crate [test,sqlalchemy]
4243

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+
4351
[linter]
4452
recipe = zc.recipe.egg:script
4553
eggs = flake8

versions.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ py = 1.10.0
2020
tox = 3.23.0
2121
twine = 3.4.0
2222
pkginfo = 1.7.0
23+
virtualenv = 15.1.0
24+
wheel = 0.24.0
25+
zc.buildout = 2.11.2
2326
zc.customdoctests = 1.0.1
2427
zc.recipe.egg = 2.0.7
2528
zc.recipe.testrunner = 2.2

0 commit comments

Comments
 (0)