Skip to content

Integration Test Grooming#513

Merged
olim7t merged 9 commits into
2.0from
itest-grooming
Nov 5, 2015
Merged

Integration Test Grooming#513
olim7t merged 9 commits into
2.0from
itest-grooming

Conversation

@tolbertam
Copy link
Copy Markdown
Contributor

Addresses some inconsistently passing tests on the 2.0 branch. There are a few more than need addressing (primary in RecommissionedNodeTest).

ClusterInitTest#should_handle_failing_or_missing_contact_points
previously checked to see if hosts were marked down, but its not
guaranteed that all expected hosts are marked down at this time as
onDown is submitted in an executor and may not have been
processed/finished.
@tolbertam tolbertam changed the title [wip] Integration Test Grooming Integration Test Grooming Nov 5, 2015
@tolbertam
Copy link
Copy Markdown
Contributor Author

Removing [wip] tag from this. A few of the recent fixes were required to accommodate recent changes targeted for 2.0.12 and all the other changes seem to have positive impact. Would be nice to get this merged in ahead of the release.

@olim7t olim7t added this to the 2.0.12 milestone Nov 5, 2015
Cluster.Manager.preparedQueries is a weak value map so as
PreparedStatement instances become dereferenced from client code the
garbage collector may collect these instances and thus remove elements
from the map.
The intent of this test is to ensure that there is not a Deadlock on
Cluster.close().  The time taken to close can be affected by local
system performance.  Since CI runs on somewhat constrained systems
increasing the timeout to 5 seconds seems reasonable.
This test was failing as it only waits up to 1 second for a cluster to close.  This can at last 2 seconds with the changes for JAVA-914 unless you override the default behavior in NettyOptions#onClusterClose.
olim7t added a commit that referenced this pull request Nov 5, 2015
@olim7t olim7t merged commit efbf9bf into 2.0 Nov 5, 2015
@olim7t olim7t deleted the itest-grooming branch November 5, 2015 17:37
Sfurti-yb pushed a commit to yugabyte/cassandra-java-driver that referenced this pull request Dec 8, 2023
Sfurti-yb pushed a commit to yugabyte/cassandra-java-driver that referenced this pull request Dec 8, 2023
… syntax

- Lexing/parsing is now done in two steps: first only tokenize, then parse into statements
- Added support for function bodies ("BEGIN ATOMIC")
- Added a test case for newly supported grammar

[resolves apache#512][apache#513]
Sfurti-yb pushed a commit to yugabyte/cassandra-java-driver that referenced this pull request Dec 8, 2023
Reorder methods. Use CharObjectMap for operator character lookup instead of linear array iteration. Extract peek/has next token functionality into dedicated methods.

Migrate assertions to AssertJ. Add benchmark.

[apache#512][resolves apache#513]

Signed-off-by: Mark Paluch <mpaluch@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants