Re: Slow unit tests with Cassandra 4.x on macOS

2022-07-14 Thread Johannes Weißl
Hi Jacek, Sorry for the late respone! We still have the issue. The call to InetAddress.getLocalHost() is very fast on both Linux and macOS. I have attached the example program "test_slow_cassandra_drop.sh". Example results for me (do not deviate much between runs): ===> With Cassandra 4.0.4 on

Re: Slow unit tests with Cassandra 4.x on macOS

2022-06-22 Thread Jacek Lewandowski
Hi Johannes, Have you already managed to fix the issue? If not, one thing that comes to my mind given you said it works fast on Linux and slow on Mac, is that you may have misconfigured hostname in your system. A simple test would be to just measure the time you need to call: InetAddress.getLocal

Re: Slow unit tests with Cassandra 4.x on macOS

2022-06-09 Thread Johannes Weißl
Hi Jacek, The unit tests are from the company I work at, so I cannot share any link. They repeatedly create and drop schemas as part of the unit test setup and teardown methods. If it helps, I can provide minimal executable examples, but I thought maybe the problem is already known (after all, I

Re: Slow unit tests with Cassandra 4.x on macOS

2022-06-01 Thread Jacek Lewandowski
Which tests exactly? - - -- --- - - Jacek Lewandowski On Thu, Jun 2, 2022 at 8:39 AM Erick Ramirez wrote: > Johannes, I've copied the Dev ML to hopefully get a wider audience. Cheers! > > On Wed, 1 Jun 2022 at 21:25, Johannes Weißl wrote: > >> Hello, >> >> We noticed

Re: Slow unit tests with Cassandra 4.x on macOS

2022-06-01 Thread Erick Ramirez
Johannes, I've copied the Dev ML to hopefully get a wider audience. Cheers! On Wed, 1 Jun 2022 at 21:25, Johannes Weißl wrote: > Hello, > > We noticed that our unit tests are way slower on macOS after the upgrade > from Cassandra 3.11.x to 4.x, e.g. over 8 minutes instead of 30 seconds > (!). >