Re: Issue while trying to run pytest command

2022-01-10 Thread Bowen Song
Did you run the pytest command in the cassandra directory (the cassandra git repo) or the cassandra-dtest directory (the cassandra-dtest git repo)? You should run the pytest command in the cassandra-dtest. On 09/01/2022 11:33, Manish G wrote: Initial installation is done following https://gith

Re: Issue while trying to run pytest command

2022-01-10 Thread Manish G
It works if you are in cassandra-dtest directory. And it seems I need to create the loopback interfaces by running 'for i in {1..9}; do sudo ifconfig lo0 alias 127.0.0.$i up; done;' ! Thanks. Manish On Mon, Jan 10, 2022 at 12:23 AM Francisco Guerrero wrote: > Hi Manish, > > I suspect this has

Re: Issue while trying to run pytest command

2022-01-09 Thread Francisco Guerrero
Hi Manish, I suspect this has to do with spaces (or special characters) in the cassandra-dir argument. Can you try again wrapping the path in quotes, for example: pytest --cassandra-dir="/Users//cassandra" Hope that helps. - Francisco On 2022/01/09 10:43:05 Manish G wrote: > I am trying to r

Re: Issue while trying to run pytest command

2022-01-09 Thread Mick Semb Wever
This works for me. source ~/dtest/bin/activate pytest --cassandra-dir=/Users/mick/src/apache/cassandra jmx_test.py::TestJMX::test_netstats What's the output of pytest --help Are you in the cassandra-dtest directory when running pytest? On Sun, 9 Jan 2022 at 12:33, Manish G wrote: > > Ini

Re: Issue while trying to run pytest command

2022-01-09 Thread Manish G
Initial installation is done following https://github.com/apache/cassandra-dtest#python-dependencies. On Sun, Jan 9, 2022 at 11:43 AM Manish G wrote: > I am trying to run pytest command : > > (dtest) manish.ghildiyal@MacBook-Pro-3 cassandra % pytest >> --cassandra-dir=/Users/../cassandra >

Issue while trying to run pytest command

2022-01-09 Thread Manish G
I am trying to run pytest command : (dtest) manish.ghildiyal@MacBook-Pro-3 cassandra % pytest > --cassandra-dir=/Users/../cassandra But I get error as: pytest: error: unrecognized arguments: > --cassandra-dir=/Users/./cassandra I have done initial installation following this. Do I n