Skip to content

Commit 24eb020

Browse files
Wait for ready (#39)
* Fix maven path reference for dependabot. * Add support to make 'WaitForReady' optional. * Added session configuration to control ready timeout. If 0, the default, behavior for RPCs to fail-fast if connection isn't ready. * Added session configuration option to give a max time a session may be in a disconnected state. * refactored Session related tests into their own file. * Updated Makefile to execute tests in a logical order where more fundamental tests are run earlier. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent c9dfd98 commit 24eb020

15 files changed

+621
-460
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,14 @@ generate-proto: ## Generate Proto Files
118118
# ----------------------------------------------------------------------------------------------------------------------
119119
.PHONY: test
120120
test: ##
121-
pytest -W error --cov src/coherence --cov-report=term --cov-report=html
121+
pytest -W error --cov src/coherence --capture=tee-sys --cov-report=term --cov-report=html \
122+
tests/test_serialization.py \
123+
tests/test_session.py \
124+
tests/test_client.py \
125+
tests/test_events.py \
126+
tests/test_filters.py \
127+
tests/test_processors.py \
128+
tests/test_aggregators.py \
122129

123130
# ----------------------------------------------------------------------------------------------------------------------
124131
# Run standards validation across project

src/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Copyright (c) 2023 Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at
3+
# https://oss.oracle.com/licenses/upl.

0 commit comments

Comments
 (0)