[ 
https://issues.apache.org/jira/browse/CASSANDRA-15779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17196418#comment-17196418
 ] 

Michael Semb Wever edited comment on CASSANDRA-15779 at 9/15/20, 5:36 PM:
--------------------------------------------------------------------------

Hey [~farmerworking], can you provide a stacktrace of the AssertionError? It's 
unclear which assertion in testDatabaseDescriptorRef is failing for you here.

Presuming it is this: 
https://github.com/apache/cassandra/blob/71f0271d2cd7db3b545b31bde7942db40923e26f/test/unit/org/apache/cassandra/config/DatabaseDescriptorRefTest.java#L256

A fix would need to be a loop-retry/await, as we don't want to introduce the 
sleep in all other environments that are otherwise working fine.



was (Author: michaelsembwever):
Hey [~farmerworking], can you provide a stacktrace of the AssertionError? It's 
unclear which assertion in testDatabaseDescriptorRef is failing for you here.


> test 
> org.apache.cassandra.config.DatabaseDescriptorRefTest#testDatabaseDescriptorRef
>  fail when run with intellij ide
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15779
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15779
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Yadong Chen
>            Assignee: Yadong Chen
>            Priority: Low
>              Labels: test
>
> I run 
> org.apache.cassandra.config.DatabaseDescriptorRefTest#testDatabaseDescriptorRef
>  using ide intellij with mac
> and it fails with following message:
>     Thread #13: AsyncAppender-Worker-ASYNC
>     Thread #12: Attach Listener
>     Thread #10: logback-1
>     Thread #5: Monitor Ctrl-Break
>     Thread #4: Signal Dispatcher
>     Thread #3: Finalizer
>     Thread #2: Reference Handler
>     Thread #1: main
>     java.lang.AssertionError: thread started in clientInitialization 
>     Expected :5
>     Actual :8



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to