Exemple #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldSetupClusterWithIPv6() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void ShouldSetupClusterWithIPv6()
        {
            // given
            int numberOfNodes = 10;

            // when
            CoreClusterMember leader = DataCreator.createEmptyNodes(_cluster, numberOfNodes);

            // then
            assertEquals(numberOfNodes, countNodes(leader));
            dataMatchesEventually(leader, _cluster.coreMembers());
            dataMatchesEventually(leader, _cluster.readReplicas());
        }
Exemple #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void start(org.neo4j.causalclustering.discovery.Cluster<?> cluster) throws Exception
        public override void Start <T1>(Cluster <T1> cluster)
        {
            DataCreator.createEmptyNodes(cluster, 10);
        }