-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates for documentation and some cleanups #371
base: master
Are you sure you want to change the base?
Conversation
We have just 3 scripts (1 soon to be gone because it is unnecessary), so there is no need to have 2 folders for them.
827e1ef
to
a44ecaf
Compare
Some of them are only used by upstream, some are may have been used by us in the past. Whatever the reason, we don't need them anymore, so this commit removes them. This will introduce conflicts when merging upstream but: - Those conflicts will be easy to solve - just pick our version - When we move to more granular way of pulling changes we will get rid of redundant commits from history. We could even automatically drop commits that only touch those files.
No need for them to pollute main directory.
Forum is now the preferred venue for asking questions, this commit updates our README to reflect that.
It is talking about Datastax CLA, which is not required to contribute to our fork. Afaik we don't have any CLA required for external contributors to our drivers.
Updated section about releasing, testing and documentation to match current tooling and procedures. Removed some sections that are no longer relevant.
It was copied from Rust Driver repo, with "CONTRIBUTING.md" changed to "CONTRIBUTING.rst".
This is deprecated and no longer required.
This test verifies that the run method of the loop was called during setUp, but another test (`class TestTwistedTimer`) was creating and starting the loop before - and this loop was never stopped. This commit adds cleanup procedure so that the test works even if loop was started before.
We don't need them, and its better to remove them rather than complicate test commands.
test_connection_initialization was fixed in previous commit test_cloud was removed in previous commit
It's most likely no longer necessary
One of the badges was not working. That's a good opportunity to update them. Now badges reflect status of master - not latest release - because that better reflects the state of repository. I also added a badge for integration tests.
e19b2e1
to
d7f60c8
Compare
|
||
Or you can specify a cassandra directory (to test unreleased versions):: | ||
In order to run integration tests, you must specify a version to run using either of: | ||
* ``SCYLLA_VERSION`` (+ ``MAPPED_SCYLLA_VERSION=3.11.4``) - e.g. ``release:5.1`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can drop MAPPED_SCYLLA_VERSION
, since #372 was merged
The test will start the appropriate Cassandra clusters when necessary but if you don't want this to happen because a Cassandra cluster is already running the flag ``USE_CASS_EXTERNAL`` can be used, for example:: | ||
|
||
USE_CASS_EXTERNAL=1 CASSANDRA_VERSION=2.0.9 nosetests -w tests/integration/standard | ||
SCYLLA_VERSION="release:5.1" MAPPED_SCYLLA_VERSION=3.11.4 python -m pytest tests/integration/standard tests/integration/cqlengine/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can drop MAPPED_SCYLLA_VERSION
, since #372 was merged
|
||
PROTOCOL_VERSION=3 nosetests -w tests/integration/standard | ||
PROTOCOL_VERSION=3 SCYLLA_VERSION="release:5.1" MAPPED_SCYLLA_VERSION=3.11.4 python -m pytest tests/integration/standard tests/integration/cqlengine/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can drop MAPPED_SCYLLA_VERSION
, since #372 was merged
This PR has some changes that can all be categorized as cleanups and various improvements:
For complete list and more details see commit messages.