This is an automated email from the ASF dual-hosted git repository.

samt pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 3ed0903131 In in-jvm dtests, don't mark internode messaging as started 
until it actually is
3ed0903131 is described below

commit 3ed09031312a6b32d01ed5a647a65995206bdb75
Author: Sam Tunnicliffe <[email protected]>
AuthorDate: Mon Dec 4 12:04:57 2023 +0000

    In in-jvm dtests, don't mark internode messaging as started until it 
actually is
    
    Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for CASSANDRA-19087
---
 test/distributed/org/apache/cassandra/distributed/impl/Instance.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/test/distributed/org/apache/cassandra/distributed/impl/Instance.java 
b/test/distributed/org/apache/cassandra/distributed/impl/Instance.java
index adf710756c..efacbbc3ec 100644
--- a/test/distributed/org/apache/cassandra/distributed/impl/Instance.java
+++ b/test/distributed/org/apache/cassandra/distributed/impl/Instance.java
@@ -705,7 +705,6 @@ public class Instance extends IsolatedExecutor implements 
IInvokableInstance
         {
             propagateMessagingVersions(cluster); // fake messaging needs to 
know messaging version for filters
         }
-        internodeMessagingStarted = true;
 
         
CassandraDaemon.disableAutoCompaction(Schema.instance.localKeyspaces().names());
         Startup.initialize(DatabaseDescriptor.getSeeds(),
@@ -728,6 +727,7 @@ public class Instance extends IsolatedExecutor implements 
IInvokableInstance
                                     // instance here so that we start the 
static event loop state
                                      registerMockMessaging(cluster);
                                 }
+                                internodeMessagingStarted = true;
                                 registerInboundFilter(cluster);
                                 registerOutboundFilter(cluster);
         });


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to