Commit 2f7a264
committed
test: skip retry-threading test when pyarrow absent
test_retry_kwargs_threaded_into_kernel_client patches
KernelDatabricksClient, which requires importing
databricks.sql.backend.kernel.client — that module imports pyarrow at
load. In the no-pyarrow CI tier the patch target can't be resolved
(AttributeError: module '...kernel' has no attribute 'client'), failing
the Unit Tests (non-PyArrow) jobs while the PyArrow jobs passed.
Add pytest.importorskip("pyarrow") to the test (matching the other
kernel tests) so it skips without pyarrow and runs where it's present.
Corrected the stale class docstring (it patches the client directly,
not via a _create_backend stub).
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>1 parent 0678f4a commit 2f7a264
1 file changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
420 | 425 | | |
421 | 426 | | |
422 | 427 | | |
| |||
425 | 430 | | |
426 | 431 | | |
427 | 432 | | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
428 | 438 | | |
429 | 439 | | |
430 | 440 | | |
| |||
0 commit comments