to fix a problem but in
> this case I found that there is quite a lot of mistrust and dislike for
> nosetests in the python community with most projects already moving to
> pytest. and if it is some complicated set of interactions between threads
> we use in the tests and how nose works d
s makes people not trust dtests because it
> randomly hangs and shows tests with “failures” that actually succeeded.
>
> i’m not a huge fan of just blindly upgrading to fix a problem but in this
> case I found that there is quite a lot of mistrust and dislike for nosetests
> in
a problem but in this case
I found that there is quite a lot of mistrust and dislike for nosetests in the
python community with most projects already moving to pytest. and if it is some
complicated set of interactions between threads we use in the tests and how
nose works do we really want
com>
> wrote:
> >
> > I'd like to propose we move from nosetest to pytest for the dtests. It
> looks like nosetests is basically abandoned, the python community doesn't
> like it, it hasn't been updated since 2015, and pytest even has nosetests
> support which would help u
+1
I stopped using nose a long time ago in favor of py.test. It’s a significant
improvement.
> On Nov 28, 2017, at 10:49 AM, Michael Kjellman <kjell...@apple.com> wrote:
>
> I'd like to propose we move from nosetest to pytest for the dtests. It looks
> like nosetests is b
I'd like to propose we move from nosetest to pytest for the dtests. It looks
like nosetests is basically abandoned, the python community doesn't like it, it
hasn't been updated since 2015, and pytest even has nosetests support which
would help us greatly during migration
(https
I thought I followed the instructions to set up the nose tests, but when I
run them all they do is (slowly) print out .E and then hang. Any clues?
Mark
PS I got the following trace when I aborted.
Traceback (most recent call last):
File /usr/bin/nosetests, line 9, in module
load_entry_point('nose==0.11.4', 'console_scripts', 'nosetests')()
File /usr/lib/pymodules/python2.7/nose/core.py, line 117, in __init__
**extra_args)
File /usr
Looks like it's hanging while talking to the cluster. Ensure cassandra is
running and on default ports.
I also run nosetests with -vdx for verbose, detailed errors and stop of first
fail (http://readthedocs.org/docs/nose/en/latest/usage.html#extended-usage)
Cheers
-
Aaron
nosetests manages starting and tearing down its own local Cassandra
instance; if you start one manually it will likely conflict.
On Sat, Apr 14, 2012 at 1:44 PM, aaron morton aa...@thelastpickle.com wrote:
Looks like it's hanging while talking to the cluster. Ensure cassandra is
running
Try nosetests -ve to see which one is failing and exit on the first error.
On Apr 14, 2012 1:34 PM, Mark Dewey milde...@gmail.com wrote:
I thought I followed the instructions to set up the nose tests, but when I
run them all they do is (slowly) print out .E and then hang. Any clues?
Mark
wrote:
Try nosetests -ve to see which one is failing and exit on the first error.
On Apr 14, 2012 1:34 PM, Mark Dewey milde...@gmail.com wrote:
I thought I followed the instructions to set up the nose tests, but when I
run them all they do is (slowly) print out .E and then hang. Any clues
That happens sometimes when tests fail unexpectedly, you can delete
/home/mildewey/Projects/cassandra/system_test.pid and start nosetests again.
On Sunday 15 April 2012 at 01:35, Mark Dewey wrote:
With the =ve I got 92 copies of this (one for each test
cql
ImportError: No module named cql
I followed the steps
new-host-3:source-apache-cassandra joestein$ sudo easy_install nose
Password:
Searching for nose
Best match: nose 0.11.4
Processing nose-0.11.4-py2.6.egg
nose 0.11.4 is already the active version in easy-install.pth
Installing nosetests-2.6
:source-apache-cassandra joestein$ sudo easy_install nose
Password:
Searching for nose
Best match: nose 0.11.4
Processing nose-0.11.4-py2.6.egg
nose 0.11.4 is already the active version in easy-install.pth
Installing nosetests-2.6 script to /usr/local/bin
Installing nosetests script
Installing nosetests-2.6 script to /usr/local/bin
Installing nosetests script to /usr/local/bin
Using /Library/Python/2.6/site-packages/nose-0.11.4-py2.6.egg
Processing dependencies for nose
Finished processing dependencies for nose
new-host-3:cassandra-trunk joestein$ ant gen-thrift-py
16 matches
Mail list logo