From 521326b4162891b8453e08b9938e74402615824a369600a5fb5ecca8607a7680 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 5 Mar 2021 23:03:32 +0000 Subject: [PATCH] - Switch off failing tests test_nts_token_performance and test_connection_initialization (https://datastax-oss.atlassian.net/browse/PYTHON-1273, bsc#1182585). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=41 --- python-cassandra-driver.changes | 7 +++++++ python-cassandra-driver.spec | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/python-cassandra-driver.changes b/python-cassandra-driver.changes index 2a0bf4b..a2e34ca 100644 --- a/python-cassandra-driver.changes +++ b/python-cassandra-driver.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 5 13:19:07 UTC 2021 - Matej Cepl + +- Switch off failing tests test_nts_token_performance and + test_connection_initialization + (https://datastax-oss.atlassian.net/browse/PYTHON-1273, bsc#1182585). + ------------------------------------------------------------------- Wed Jun 10 10:41:08 UTC 2020 - Marketa Calabkova diff --git a/python-cassandra-driver.spec b/python-cassandra-driver.spec index ec012e0..53b7caa 100644 --- a/python-cassandra-driver.spec +++ b/python-cassandra-driver.spec @@ -1,7 +1,7 @@ # # spec file for package python-cassandra-driver # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,6 +34,7 @@ BuildRequires: %{python_module geomet >= 0.1} BuildRequires: %{python_module gevent} BuildRequires: %{python_module mock} BuildRequires: %{python_module pure-sasl} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} BuildRequires: %{python_module scales} BuildRequires: %{python_module setuptools} @@ -86,7 +87,8 @@ export CASS_DRIVER_NO_EXTENSIONS=1 %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_expand PYTHONPATH="$(pwd)" $python -m unittest discover -v +# https://datastax-oss.atlassian.net/browse/PYTHON-1273 +%pytest -k 'not (test_connection_initialization or test_nts_token_performance)' %files %{python_files} %license LICENSE