pytest-neon 2.1.1__tar.gz → 2.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/PKG-INFO +1 -1
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/pyproject.toml +1 -1
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/src/pytest_neon/__init__.py +1 -1
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/src/pytest_neon/plugin.py +10 -2
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/uv.lock +1 -1
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/.env.example +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/.github/workflows/release.yml +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/.github/workflows/tests.yml +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/.gitignore +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/.neon +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/CLAUDE.md +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/LICENSE +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/README.md +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/src/pytest_neon/py.typed +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/tests/conftest.py +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/tests/test_branch_lifecycle.py +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/tests/test_cli_options.py +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/tests/test_env_var.py +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/tests/test_fixture_errors.py +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/tests/test_integration.py +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/tests/test_migrations.py +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/tests/test_readwrite_readonly_fixtures.py +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/tests/test_reset_behavior.py +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/tests/test_skip_behavior.py +0 -0
- {pytest_neon-2.1.1 → pytest_neon-2.1.2}/tests/test_xdist_worker_support.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytest-neon
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.2
|
|
4
4
|
Summary: Pytest plugin for Neon database branch isolation in tests
|
|
5
5
|
Project-URL: Homepage, https://github.com/ZainRizvi/pytest-neon
|
|
6
6
|
Project-URL: Repository, https://github.com/ZainRizvi/pytest-neon
|
|
@@ -480,9 +480,17 @@ def _wait_for_operations(
|
|
|
480
480
|
return # All operations already complete
|
|
481
481
|
|
|
482
482
|
waited = 0.0
|
|
483
|
+
first_poll = True
|
|
483
484
|
while pending_op_ids and waited < max_wait_seconds:
|
|
484
|
-
time
|
|
485
|
-
|
|
485
|
+
# Poll immediately first time (operation usually completes instantly),
|
|
486
|
+
# then wait between subsequent polls
|
|
487
|
+
if first_poll:
|
|
488
|
+
time.sleep(0.1) # Tiny delay to let operation start
|
|
489
|
+
waited += 0.1
|
|
490
|
+
first_poll = False
|
|
491
|
+
else:
|
|
492
|
+
time.sleep(poll_interval)
|
|
493
|
+
waited += poll_interval
|
|
486
494
|
|
|
487
495
|
# Check status of each pending operation
|
|
488
496
|
still_pending = []
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|